|
LINPHONECXX_PUBLIC | Transports (void *ptr, bool takeRef=true) |
|
LINPHONECXX_PUBLIC _LinphoneTransports * | cPtr () |
|
LINPHONECXX_PUBLIC int | getDtlsPort () const |
| Gets the DTLS port in the Transports object.
|
|
LINPHONECXX_PUBLIC void | setDtlsPort (int port) |
| Sets the DTLS port in the Transports object.
|
|
LINPHONECXX_PUBLIC int | getTcpPort () const |
| Gets the TCP port in the Transports object.
|
|
LINPHONECXX_PUBLIC void | setTcpPort (int port) |
| Sets the TCP port in the Transports object.
|
|
LINPHONECXX_PUBLIC int | getTlsPort () const |
| Gets the TLS port in the Transports object.
|
|
LINPHONECXX_PUBLIC void | setTlsPort (int port) |
| Sets the TLS port in the Transports object.
|
|
LINPHONECXX_PUBLIC int | getUdpPort () const |
| Gets the UDP port in the Transports object.
|
|
LINPHONECXX_PUBLIC void | setUdpPort (int port) |
| Sets the UDP port in the Transports object.
|
|
SIP transports & ports configuration object.
Indicates which transport among UDP, TCP, TLS and DTLS should be enabled and if so on which port to listen. You can use special values like LC_SIP_TRANSPORT_DISABLED (0), LC_SIP_TRANSPORT_RANDOM (-1) and LC_SIP_TRANSPORT_DONTBIND (-2). Once configuration is complete, use Core::setTransports() to apply it. This will be saved in configuration file so you don't have to do it each time the Core starts.