Class Transports
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 Transports to apply it. This will be saved in configuration file so you don't have to do it each time the Core starts.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class Transports : LinphoneObject
Properties
DtlsPort
Gets the DTLS port in the Transports object.
Declaration
public int DtlsPort { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | the DTLS port |
TcpPort
Gets the TCP port in the Transports object.
Declaration
public int TcpPort { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | the TCP port |
TlsPort
Gets the TLS port in the Transports object.
Declaration
public int TlsPort { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | the TLS port |
UdpPort
Gets the UDP port in the Transports object.
Declaration
public int UdpPort { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | the UDP port |