Red5 Documentation

Small Conference With Audio and Video Mix

This use case creates a mixed live stream that is consumed by viewer-only and conference participants. The mixed stream includes the audio and video of every input stream, and, as such, conference participants will not be able to use that audio. Instead, participants will subscribe to a separate stream generated by the audio mix-minus implementation to prevent feedback. This use case is diagramed in Figure 3 below.

mixer03

Figure 3: Architecture diagram for a small conference where an audio and video mix and mix-minus audio implementations are used.

This use-case employs an audio and video Mixer to create the compositions with everyone’s video and audio. The mix-minus audio engine provides presenters with the composite video and the three loudest talkers at any given time minus themselves. A requirement of the implementation is that the live streams are published to the same exact Origin server to allow the mix-minus audio engine to generate the custom audio tracks and return them along with the composite stream to the participants’ publishing clients. Participants do not subscribe to the return feeds; they use a Red5 Pro conference participant WebRTC publisher that publishes a stream and receives back audio and video tracks from the same server.

The Conference Host and Conference Participant` testbeds are suitable for this use case. These testbeds create a video conference allowing an Editor to add or remove Participants from it. [Read more here regarding how to use the Grid Composition Host testbeds for a video conference.