Buiding one-to-many audio streaming application

Subscribe to RSS news feed

Making conference-like communication applications with VC components is as easy as making peer-to-peer voice chat projects. Distribution Server and Client samples show how to distribute audio stream being received from remote source among several Clients. The process is shown on a picture below.

One-to-many streaming client/server sample

One designated Client working in "speaker" mode connects to mediaGate server, which in turn distribute audio to "listeners". Listeners can connect and disconnect at any time, and Server will automatically assign next available channel for new Listener.

In addition, this demo shows how to enable/disable audio distribution from server to selected clients. Disabled client remains connected, but does not receive any audio.


Precompiled binary of this sample is included in the Demos package.