A XirSys v3 client. More...
Instance Methods | |
(NSString *) | - channel |
Gets the "channel" value. More... | |
(NSString *) | - endpoint |
Gets the HTTP endpoint. More... | |
(FMLiveSwitchFuture< NSMutableArray * > *) | - getIceServers |
Gets an array of XirSys ICE servers. More... | |
(NSString *) | - ident |
Gets the "ident" value. More... | |
(instancetype) | - initWithIdent:secret:channel: |
Initializes a new instance of the FMLiveSwitchXirSysV3Client class. More... | |
(instancetype) | - initWithIdent:secret:channel:secure: |
Initializes a new instance of the FMLiveSwitchXirSysV3Client class. More... | |
(NSString *) | - secret |
Gets the "secret" value. More... | |
(bool) | - secure |
Gets the "secure" value. More... | |
(void) | - setChannel: |
Sets the "channel" value. More... | |
(void) | - setEndpoint: |
Sets the HTTP endpoint. More... | |
(void) | - setIdent: |
Sets the "ident" value. More... | |
(void) | - setSecret: |
Sets the "secret" value. More... | |
(void) | - setSecure: |
Sets the "secure" value. More... | |
Class Methods | |
(FMLiveSwitchXirSysV3Client *) | + clientWithIdent:secret:channel: |
Initializes a new instance of the FMLiveSwitchXirSysV3Client class. More... | |
(FMLiveSwitchXirSysV3Client *) | + clientWithIdent:secret:channel:secure: |
Initializes a new instance of the FMLiveSwitchXirSysV3Client class. More... | |
(NSString *) | + defaultEndpoint |
Gets the default HTTP endpoint. More... | |
(void) | + setDefaultEndpoint: |
Sets the default HTTP endpoint. More... | |
A XirSys v3 client.
- (NSString*) channel |
Gets the "channel" value.
+ (FMLiveSwitchXirSysV3Client*) clientWithIdent: | (NSString *) | ident | |
secret: | (NSString *) | secret | |
channel: | (NSString *) | channel | |
Initializes a new instance of the FMLiveSwitchXirSysV3Client class.
ident | The "ident" value. |
secret | The "secret" value. |
channel | The "channel" value. |
+ (FMLiveSwitchXirSysV3Client*) clientWithIdent: | (NSString *) | ident | |
secret: | (NSString *) | secret | |
channel: | (NSString *) | channel | |
secure: | (bool) | secure | |
Initializes a new instance of the FMLiveSwitchXirSysV3Client class.
ident | The "ident" value. |
secret | The "secret" value. |
channel | The "channel" value. |
secure | The "secure" value. |
+ (NSString*) defaultEndpoint |
Gets the default HTTP endpoint.
Defaults to "https://global.xirsys.net/_turn".
- (NSString*) endpoint |
Gets the HTTP endpoint.
- (FMLiveSwitchFuture<NSMutableArray*>*) getIceServers |
Gets an array of XirSys ICE servers.
- (NSString*) ident |
Gets the "ident" value.
- (instancetype) initWithIdent: | (NSString *) | ident | |
secret: | (NSString *) | secret | |
channel: | (NSString *) | channel | |
Initializes a new instance of the FMLiveSwitchXirSysV3Client class.
ident | The "ident" value. |
secret | The "secret" value. |
channel | The "channel" value. |
- (instancetype) initWithIdent: | (NSString *) | ident | |
secret: | (NSString *) | secret | |
channel: | (NSString *) | channel | |
secure: | (bool) | secure | |
Initializes a new instance of the FMLiveSwitchXirSysV3Client class.
ident | The "ident" value. |
secret | The "secret" value. |
channel | The "channel" value. |
secure | The "secure" value. |
- (NSString*) secret |
Gets the "secret" value.
- (bool) secure |
Gets the "secure" value.
Defaults to true
.
- (void) setChannel: | (NSString *) | value |
Sets the "channel" value.
+ (void) setDefaultEndpoint: | (NSString *) | value |
Sets the default HTTP endpoint.
Defaults to "https://global.xirsys.net/_turn".
- (void) setEndpoint: | (NSString *) | value |
Sets the HTTP endpoint.
- (void) setIdent: | (NSString *) | value |
Sets the "ident" value.
- (void) setSecret: | (NSString *) | value |
Sets the "secret" value.
- (void) setSecure: | (bool) | value |
Sets the "secure" value.
Defaults to true
.