TxServerConfiguration
public struct TxServerConfiguration
This class contains all the properties related to: Signaling server URL and STUN / TURN servers
-
Undocumented
Declaration
Swift
public internal(set) var environment: WebRTCEnvironment { get }
-
Undocumented
Declaration
Swift
public internal(set) var signalingServer: URL { get }
-
Undocumented
Declaration
Swift
public internal(set) var pushMetaData: [String : Any]? { get }
-
Undocumented
Declaration
Swift
public internal(set) var webRTCIceServers: [RTCIceServer] { get }
-
Constructor for the Server configuration parameters.
Declaration
Swift
public init(signalingServer: URL? = nil, webRTCIceServers: [RTCIceServer]? = nil, environment: WebRTCEnvironment = .production, pushMetaData: [String : Any]? = nil)
Parameters
signalingServer
To define the signaling server URL
wss://address:port
webRTCIceServers
To define custom ICE servers
pushMetaData
Contains push info when a PN is received