General info | Getting started | Samples | Components reference | FAQ | Solutions |



This example demonstrates how to attach several consumers to one provider. Audio stream originating from provider will be distributed automatically between consumers without any additional source code.

Also, this sample demonstrates how to use DisplayBands component.

The WaveIn (wave recorder) component is used as a provider which has two consumers -- WaveOut (wave playback) and WaveRiff (wave file save). Both consumers will receive exactly the same stream.

Notice the AddConsumer and RemoveConsumer routines, which are used to add or remove consumers at runtime. When consumer is added, it will be assigned proper audio format and activated as required.

Before it was only possible to have one consumer per one provider. New version allows unlimited number of consumers to be attached.

See also...

Simple WaveIn-WaveOut loopback, WAVe recorder/player, ASIO, Mixer, TalkNow, Voice Chat, Conference, Volume Control, Remote Lecturer, DirectStream, IP Streaming, RTSP Multi-Transmitter Server, STUN Server and Client, RTP Conference, Web sample: MediaGate Client

VCX Library 3.0 © 2012 Lake of Soft
All rights reserved.