Assigning more than one consumer for same audio stream

Subscribe to RSS news feed

Multi-consumer sample

It is possible to link one component to any number of other components (consumers). This makes it simple to distribute audio from one source to several destinations. In our Multi-Consumer sample you can add any number of consumers to live recording source at run-time.

For example, it is possible to stream audio to remote server(s) or client(s), save it into local .WAV file(s) or listen it on live playback, all at the same time. Programmatically all you have to do is to use the addConsumer() method to link one component to another. VC components will care for proper format negotiation and component's activation.

Download

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