Changes between Version 1 and Version 2 of pjsip-doc/media
- Timestamp:
- Dec 4, 2013 3:37:35 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pjsip-doc/media
v1 v2 15 15 16 16 The Audio Conference Bridge 17 ---------------------------- -----------------------------17 ---------------------------- 18 18 The conference bridge provides a simple but yet powerful concept to manage audio flow between the audio medias. The principle is very simple, that is you connect audio source to audio destination, and the bridge will make the audio flows from the source to destination, and that's it. If more than one sources are transmitting to the same destination, then the audio from the sources will be mixed. If one source is transmitting to more than one destinations, the bridge will take care of duplicating the audio from the source to the multiple destinations. 19 19 … … 62 62 Looping Audio 63 63 +++++++++++++ 64 If you want, you can loop the audio of a media object to itself (i.e. the audio received from the object will be transmitted to itself). For example, you can loop the audio of the sound device with: 64 If you want, you can loop the audio of a media object to itself (i.e. the audio received from the object will be transmitted to itself). For example, you can loop the audio of the sound device with:: 65 65 66 66 .startTransmit(); … … 80 80 81 81 // This will connect the sound device/mic to the call audio media 82 ->startTransmit(*aud_med);82 ->startTransmit(*aud_med); 83 83 84 84 // And this will connect the call audio media to the sound device/speaker … … 107 107 ++++++++++++++++++++++++ 108 108 109 While doing the conference, it perfectly makes sense to want to record the conference to a WAV file, and all we need to do is to connect the microphone and both calls to the WAV recorder: 109 While doing the conference, it perfectly makes sense to want to record the conference to a WAV file, and all we need to do is to connect the microphone and both calls to the WAV recorder:: 110 110 111 111 ->startTransmit(recorder); … … 113 113 aud_med2->startTransmit(recorder); 114 114 115 We only need to care about what the audio routings we want to achieve and the bridge will take care of making it happen.116 117 115 }}}