# Video Chat: multiple users in single stream

**URL:** <https://community.wowza.com/t/video-chat-multiple-users-in-single-stream/39746>\
**Category:** Wowza Streaming Engine\
**Created:** [May 24, 2013, 6:26pm UTC](https://community.wowza.com/t/video-chat-multiple-users-in-single-stream/39746 "2013-05-24T18:26:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Inderjeet\_S\_Sodhi](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@Inderjeet\_S\_Sodhi](https://community.wowza.com/u/Inderjeet_S_Sodhi)\
**Post date:** [May 24, 2013, 6:26pm UTC](https://community.wowza.com/t/video-chat-multiple-users-in-single-stream/39746/1 "2013-05-24T18:26:31Z")

</div>

Hi,

I am trying to implement a multi-way video chat/video conferencing with Wowza.

From what I had gathered from the video chat example, it tends to create a stream for ech participant.

Two way:

User1-\>( publish new stream as streamUser1)-\>User2 starts viewing(playing) streamUser1

User2-\>( publish new stream as streamUser2)-\>User1 starts viewing(playing) streamUser2

Multi-way:

User1-\>( publish new stream as streamUser1)-\>User1…UserN start viewing(playing) streamUser1, streamUser2,…streamUserN

User2-\>( publish new stream as streamUser2)-\>User1…UserN start viewing(playing) streamUser1, streamUser2,…streamUserN

UserN-\>( publish new stream as streamUserN)-\>User1…UserN start viewing(playing) streamUser1, streamUser2,…streamUserN

Is this logic correct? I think there must be a simple way, such as passing User1-UserN’s name/login within a single stream (read Room).

Any direction would be appreciated.

Thanks

Inderjeet

---

<div class="post-metadata">

**Author:** ![Inderjeet\_S\_Sodhi](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@Inderjeet\_S\_Sodhi](https://community.wowza.com/u/Inderjeet_S_Sodhi)\
**Post date:** [May 24, 2013, 6:41pm UTC](https://community.wowza.com/t/video-chat-multiple-users-in-single-stream/39746/2 "2013-05-24T18:41:31Z")

</div>

By the way, i had seen [Wowza/Flex AV Chat example](http://community.wowza.com/t/-/234) but not sure if this Flex example can handle conferencing multiple users…

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 24, 2013, 2:57pm UTC](https://community.wowza.com/t/video-chat-multiple-users-in-single-stream/39746/3 "2013-05-24T14:57:33Z")

</div>

The VideoChat example that ships with Wowza shows the bare essentials of video chat in terms of publishing and subscribing in a Flash RTMP client. “User presence” is not part of that example, i.e. a list of other clients/users that are connected to that app. The Flex example, which is very old but relevant, adds user presence managed through SharedObjects, which is what you are asking about. So that one is a good starting place for you.

Rihcard

---

<div class="post-metadata">

**Author:** ![Inderjeet\_S\_Sodhi](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@Inderjeet\_S\_Sodhi](https://community.wowza.com/u/Inderjeet_S_Sodhi)\
**Post date:** [May 24, 2013, 8:44pm UTC](https://community.wowza.com/t/video-chat-multiple-users-in-single-stream/39746/4 "2013-05-24T20:44:13Z")

</div>

Thanks Richard. I also thought so. Primarily passing on viewer name or other variables involves SharedObjects, no other way, correct? Need to combine both examples together for the desired result.

Will post updates/results on the progress.

Thanks

Inderjeet
