It is possible to have two separate VoIP conferences and bridge them using FMG.
1) Conference on FMS: This one being running on FMS for participants using Flash Player. In this case, each Flash Player will publish its own Microphone data to FMS and would subscribe streams coming from all other participents on Flash.
2) Second set of participants on a Meeting bridge using regular phone.
Both of these conferences can be joined using single call between FMG and Meeting Bridge. There is where Audio Mixing in FMG may be used. Following is how it would look like.
3) Using FMG, Create a call from FMS server-side action script to the Meeting Bridge where telephony clients have joined.
- Upon joining the Meeting Bridge Conference, the stream publised by FMG to FMS for that particular call would contain audio of the Meeting Bridge participants. As the Flash Clients need to subscribe this audio stream.
- To send audio from Flash Player clients to Meeting Bridge conference, specify FMG to use all the streams coming from these clients using API PushNewStream(). In turn FMG will subscribe all these stream and mix them to the create one stream which will be sent to the Metting bridge over the SIP Call. Logically, the code to specify mutiple stream might look like this.
myLegService.pushNewStream(legID, Participants_Mic_Stream_Names[0]);
myLegService.pushNewStream(legID, Participants_Mic_Stream_Names[1]);
.
.
myLegService.pushNewStream(legID, Participants_Mic_Stream_Names);
- RemoveStream API can be used to stop the usage of an RTMP stream in mixing at FMG.
-Pankaj