Changes between Version 1 and Version 2 of Python_SIP/Settings


Ignore:
Timestamp:
Jul 22, 2008 10:45:10 PM (11 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Python_SIP/Settings

    v1 v2  
    7878 }}} 
    7979 
    80 The {{{create_transport()}}} method takes an optional [http://www.pjsip.org/python/pjsua.htm#TransportConfig TransportConfig] object to customize the transport settings like bound address and listening port number. Without this, by default the transport will be bound to "0.0.0.0" and any available port. 
     80The {{{create_transport()}}} method returns the newly created [http://www.pjsip.org/python/pjsua.htm#Transport Transport] instance and it takes an optional [http://www.pjsip.org/python/pjsua.htm#TransportConfig TransportConfig] object to customize the transport settings like bound address and listening port number. Without this, by default the transport will be bound to "0.0.0.0" and any available port. 
     81 
     82There is no real use of the [http://www.pjsip.org/python/pjsua.htm#Transport Transport] instance, except to create ''account-less'' account (with {{{lib.create_account_for_transport()}}}, as will be explained in later chapter), and perhaps to display list of transport infos to user if the application wants it. 
    8183 
    8284