Changes between Initial Version and Version 1 of Python_SIP/Media

Jul 23, 2008 2:43:14 PM (14 years ago)



  • Python_SIP/Media

    v1 v1  
     1= Working with Media = 
     6== The Concept == 
     8Media objects are objects that are capable to process media. There are several type of media objects supported in pjsua: 
     9 * call, obviously, to transmit and receive media from remote person. 
     10 * WAV file player to play WAV file 
     11 * WAV file recorder to record audio to a WAV file 
     12 * WAV playlist, to playback multiple WAV files sequentially. 
     14More media objects may be added in the future. 
     16In pjsua Python module and in [ PJSUA API] in general, all media objects are terminated in the central conference bridge so that they are easier to manipulate. When objects are plugged-in to the conference bridge, they will be given a ''slot number'' that identifies the objects in the bridge. 
     18The conference bridge provides a simple but yet powerful API to manage audio routing between the audio objects. The principle is very simple, that is you connect audio source to audio destination, and that's it. If more than one sources are transmitting to the same destination, then the audio 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. 
     20Lets see a diagram of a conference bridge with several media objects.