Changes between Version 1 and Version 2 of pjsip-doc/media


Ignore:
Timestamp:
Dec 4, 2013 3:37:35 AM (10 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pjsip-doc/media

    v1 v2  
    1515 
    1616The Audio Conference Bridge 
    17 --------------------------------------------------------- 
     17---------------------------- 
    1818The 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. 
    1919 
     
    6262Looping Audio 
    6363+++++++++++++ 
    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: 
     64If 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:: 
    6565 
    6666    .startTransmit(); 
     
    8080 
    8181    // This will connect the sound device/mic to the call audio media 
    82    ->startTransmit(*aud_med); 
     82    ->startTransmit(*aud_med); 
    8383 
    8484    // And this will connect the call audio media to the sound device/speaker 
     
    107107++++++++++++++++++++++++ 
    108108 
    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: 
     109While 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:: 
    110110 
    111111    ->startTransmit(recorder); 
     
    113113    aud_med2->startTransmit(recorder); 
    114114 
    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  
    117115}}}