FMIceLinkIceServer Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | FMIceLinkIceServer.h FMIceLinkIceServer.m |
+ defaultPort
Gets the default [port](#//api/name/port).
+ (int)defaultPortDiscussion
Gets the default [port](#//api/name/port).
Declared In
FMIceLinkIceServer.h
+ fromJsonArrayWithIceServersJson:
Deserializes an array of instances from JSON.
+ (NSMutableArray *)fromJsonArrayWithIceServersJson:(NSString *)iceServersJsonParameters
iceServersJson |
The JSON to deserialize. |
|---|
Return Value
The deserialized ICE server array.
Discussion
Deserializes an array of instances from JSON.
Declared In
FMIceLinkIceServer.h
+ fromJsonWithIceServerJson:
Deserializes an instance from JSON.
+ (FMIceLinkIceServer *)fromJsonWithIceServerJson:(NSString *)iceServerJsonParameters
iceServerJson |
The JSON to deserialize. |
|---|
Return Value
The deserialized ICE server.
Discussion
Deserializes an instance from JSON.
Declared In
FMIceLinkIceServer.h
+ iceServerWithUrl:
Initializes a new instance of the FMIceLinkIceServer class.
+ (FMIceLinkIceServer *)iceServerWithUrl:(NSString *)urlParameters
url |
The URL. |
|---|
Discussion
Initializes a new instance of the FMIceLinkIceServer class.
Declared In
FMIceLinkIceServer.h
+ iceServerWithUrl:username:password:
Initializes a new instance of the FMIceLinkIceServer class.
+ (FMIceLinkIceServer *)iceServerWithUrl:(NSString *)url username:(NSString *)username password:(NSString *)passwordDiscussion
Initializes a new instance of the FMIceLinkIceServer class.
Declared In
FMIceLinkIceServer.h
– initWithUrl:
Initializes a new instance of the FMIceLinkIceServer class.
- (instancetype)initWithUrl:(NSString *)urlParameters
url |
The URL. |
|---|
Discussion
Initializes a new instance of the FMIceLinkIceServer class.
Declared In
FMIceLinkIceServer.h
– initWithUrl:username:password:
Initializes a new instance of the FMIceLinkIceServer class.
- (instancetype)initWithUrl:(NSString *)url username:(NSString *)username password:(NSString *)passwordDiscussion
Initializes a new instance of the FMIceLinkIceServer class.
Declared In
FMIceLinkIceServer.h
– isSecure
Gets a value indicating whether this represents a secure STUN or TURN server.
- (bool)isSecureDiscussion
Gets a value indicating whether this represents a secure STUN or TURN server.
Declared In
FMIceLinkIceServer.h
– isStun
Gets a value indicating whether this represents a STUN server.
- (bool)isStunDiscussion
Gets a value indicating whether this represents a STUN server.
Declared In
FMIceLinkIceServer.h
– isTcp
Gets a value indicating whether this represents a TCP server.
- (bool)isTcpDiscussion
Gets a value indicating whether this represents a TCP server.
Declared In
FMIceLinkIceServer.h
– isTurn
Gets a value indicating whether this represents a TURN server.
- (bool)isTurnDiscussion
Gets a value indicating whether this represents a TURN server.
Declared In
FMIceLinkIceServer.h
– isUdp
Gets a value indicating whether this represents a UDP server.
- (bool)isUdpDiscussion
Gets a value indicating whether this represents a UDP server.
Declared In
FMIceLinkIceServer.h
– password
Gets the password.
- (NSString *)passwordDiscussion
Gets the password.
Declared In
FMIceLinkIceServer.h
– toJson
Serializes this instance to JSON.
@return The serialized JSON.
- (NSString *)toJsonDiscussion
Serializes this instance to JSON.
@return The serialized JSON.
Declared In
FMIceLinkIceServer.h
+ toJsonArrayWithIceServers:
Serializes an array of instances to JSON.
+ (NSString *)toJsonArrayWithIceServers:(NSMutableArray *)iceServersParameters
iceServers |
The ICE servers. @return The serialized JSON. |
|---|
Discussion
Serializes an array of instances to JSON.
Declared In
FMIceLinkIceServer.h
+ toJsonWithIceServer:
Serializes an instance to JSON.
+ (NSString *)toJsonWithIceServer:(FMIceLinkIceServer *)iceServerParameters
iceServer |
The ICE server. @return The serialized JSON. |
|---|
Discussion
Serializes an instance to JSON.
Declared In
FMIceLinkIceServer.h
– username
Gets the username.
- (NSString *)usernameDiscussion
Gets the username.
Declared In
FMIceLinkIceServer.h