Changes between Initial Version and Version 1 of Python_SIP/Media


Ignore:
Timestamp:
Jul 23, 2008 2:43:14 PM (11 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Python_SIP/Media

    v1 v1  
     1= Working with Media = 
     2 
     3[[TracNav(Python_SIP/TOC)]] 
     4 
     5 
     6== The Concept == 
     7 
     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. 
     13 
     14More media objects may be added in the future. 
     15 
     16In pjsua Python module and in [http://www.pjsip.org/pjsip/docs/html/group__PJSUA__LIB.htm 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. 
     17 
     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. 
     19 
     20Lets see a diagram of a conference bridge with several media objects. 
     21 
     22