Wowza Community

Audio Conference & Flex & Audio Merging in Wowza Server

Hi,

I am developing an audio conference Flex application.

Once clients connect to Wowza Server, they publish their audio sterams with an unique string :

For Client A

 
public var nsPublish:NetStream = new NetStream(nc);
...
nsPublish.publish("someUniqueString")

Any client who wants to listen a stream from Wowza Server, she has to use play method of NetStream object with a unique string which is the same as the publisher used to publish.

For Client B

public var nsPlay:NetStream = new NetStream(nc);
...
nsPlay.play("someUniqueString")

These are enough to establish a communication between Client A and B.

However, when Client C is wanted to be involved things are getting tough.

Because, multiple NetStream objects cannot be used to play multiple streams on a flash client.

Solution that i have found is to mix these audio channels on Server than serve them to clients so that they can play and hear all of clients with one NetStream object.

For example, for Client A, there must be a stream which contains streams of B,C,D,E … ( B+C+D+E … ) and for Client B it is sum of A,C,D,E…

I guess I firstly have to develop a Custom Module Class to handle this but I don’t understand how to decode these streams, and mix them, and then encode in server side for each client. Any help maybe?

Thanks

Hello there and welcome to the Wowza support forum.

You might consider posting your help request to the find a consultant forum.

If you do, please include details about your request, a timeline and a budget.

Best,

Salvadore