An ICE server. More...
Instance Methods | |
(NSString *) | - host |
Gets the host. More... | |
(instancetype) | - initWithUrl: |
Initializes a new instance of the FMLiveSwitchIceServer class. More... | |
(instancetype) | - initWithUrl:username:password: |
Initializes a new instance of the FMLiveSwitchIceServer class. More... | |
(bool) | - isSecure |
Gets a value indicating whether this represents a secure STUN or TURN server. More... | |
(bool) | - isStun |
Gets a value indicating whether this represents a STUN server. More... | |
(bool) | - isTcp |
Gets a value indicating whether this represents a TCP server. More... | |
(bool) | - isTurn |
Gets a value indicating whether this represents a TURN server. More... | |
(bool) | - isUdp |
Gets a value indicating whether this represents a UDP server. More... | |
(NSString *) | - password |
Gets the password. More... | |
(int) | - port |
Gets the port. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
(NSString *) | - url |
Gets the URL. More... | |
(NSString *) | - username |
Gets the username. More... | |
Class Methods | |
(int) | + defaultPort |
Gets the default non-secure port (in use for STUN and TURN). More... | |
(int) | + defaultStunPort |
Gets the default STUN port. More... | |
(int) | + defaultStunsPort |
Gets the default STUNS port. More... | |
(int) | + defaultTurnPort |
Gets the default TURN port. More... | |
(int) | + defaultTurnsPort |
Gets the default TURNS port. More... | |
(NSMutableArray *) | + fromJsonArrayWithIceServersJson: |
Deserializes an array of instances from JSON. More... | |
(FMLiveSwitchIceServer *) | + fromJsonWithIceServerJson: |
Deserializes an instance from JSON. More... | |
(FMLiveSwitchIceServer *) | + iceServerWithUrl: |
Initializes a new instance of the FMLiveSwitchIceServer class. More... | |
(FMLiveSwitchIceServer *) | + iceServerWithUrl:username:password: |
Initializes a new instance of the FMLiveSwitchIceServer class. More... | |
(NSString *) | + toJsonArrayWithIceServers: |
Serializes an array of instances to JSON. More... | |
(NSString *) | + toJsonWithIceServer: |
Serializes an instance to JSON. More... | |
An ICE server.
+ (int) defaultPort |
Gets the default non-secure port (in use for STUN and TURN).
+ (int) defaultStunPort |
Gets the default STUN port.
+ (int) defaultStunsPort |
Gets the default STUNS port.
+ (int) defaultTurnPort |
Gets the default TURN port.
+ (int) defaultTurnsPort |
Gets the default TURNS port.
+ (NSMutableArray*) fromJsonArrayWithIceServersJson: | (NSString *) | iceServersJson |
Deserializes an array of instances from JSON.
iceServersJson | The JSON to deserialize. |
+ (FMLiveSwitchIceServer*) fromJsonWithIceServerJson: | (NSString *) | iceServerJson |
Deserializes an instance from JSON.
iceServerJson | The JSON to deserialize. |
- (NSString*) host |
Gets the host.
+ (FMLiveSwitchIceServer*) iceServerWithUrl: | (NSString *) | url |
Initializes a new instance of the FMLiveSwitchIceServer class.
url | The URL. |
+ (FMLiveSwitchIceServer*) iceServerWithUrl: | (NSString *) | url | |
username: | (NSString *) | username | |
password: | (NSString *) | password | |
Initializes a new instance of the FMLiveSwitchIceServer class.
url | The URL. |
username | The username. |
password | The password. |
- (instancetype) initWithUrl: | (NSString *) | url |
Initializes a new instance of the FMLiveSwitchIceServer class.
url | The URL. |
- (instancetype) initWithUrl: | (NSString *) | url | |
username: | (NSString *) | username | |
password: | (NSString *) | password | |
Initializes a new instance of the FMLiveSwitchIceServer class.
url | The URL. |
username | The username. |
password | The password. |
- (bool) isSecure |
Gets a value indicating whether this represents a secure STUN or TURN server.
- (bool) isStun |
Gets a value indicating whether this represents a STUN server.
- (bool) isTcp |
Gets a value indicating whether this represents a TCP server.
- (bool) isTurn |
Gets a value indicating whether this represents a TURN server.
- (bool) isUdp |
Gets a value indicating whether this represents a UDP server.
- (NSString*) password |
Gets the password.
- (int) port |
Gets the port.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonArrayWithIceServers: | (NSMutableArray *) | iceServers |
Serializes an array of instances to JSON.
iceServers | The ICE servers. |
+ (NSString*) toJsonWithIceServer: | (FMLiveSwitchIceServer *) | iceServer |
Serializes an instance to JSON.
iceServer | The ICE server. |
- (NSString*) url |
Gets the URL.
- (NSString*) username |
Gets the username.