TunnelConfig
public class TunnelConfig : LinphoneObject
Tunnel settings.
-
Undocumented
Declaration
Swift
public static func getSwiftObject(cObject: OpaquePointer) -> TunnelConfig
-
Undocumented
Declaration
Swift
public var getCobject: OpaquePointer? { get }
-
Get the UDP packet round trip delay in ms for a tunnel configuration.
Declaration
Swift
public var delay: Int { get set }
Return Value
The UDP packet round trip delay in ms.
-
Get the IP address or hostname of the tunnel server.
Declaration
Swift
public var host: String { get set }
Return Value
The tunnel server IP address or hostname.
-
Get the IP address or hostname of the second tunnel server when using dual tunnel client.
Declaration
Swift
public var host2: String { get set }
Return Value
The tunnel server IP address or hostname.
-
Get the TLS port of the tunnel server.
Declaration
Swift
public var port: Int { get set }
Return Value
The TLS port of the tunnel server
-
Get the TLS port of the second tunnel server when using dual tunnel client.
Declaration
Swift
public var port2: Int { get set }
Return Value
The TLS port of the tunnel server
-
Get the remote port on the tunnel server side used to test UDP reachability. This is used when the mode is set auto, to detect whether the tunnel has to be enabled or not.
Declaration
Swift
public var remoteUdpMirrorPort: Int { get set }
Return Value
The remote port on the tunnel server side used to test UDP reachability
-
Retrieve user data from the tunnel config.
Declaration
Swift
public var userData: UnsafeMutableRawPointer? { get set }
Return Value
the user data.