Connection configuration. More...
Instance Methods | |
(NSString *) | - audioDirection |
Gets the audio direction ("sendrecv", "sendonly", "recvonly", or "inactive"). More... | |
(NSString *) | - dataDirection |
Gets the data direction ("sendrecv", "sendonly", "recvonly", or "inactive"). More... | |
(bool) | - localAudioDisabled |
Gets if local audio is disabled. More... | |
(bool) | - localAudioMuted |
Gets if the local audio is muted. More... | |
(bool) | - localDataDisabled |
Gets if local data is disabled. More... | |
(bool) | - localVideoDisabled |
Gets if local video is disabled. More... | |
(bool) | - localVideoMuted |
Gets if the local video is muted. More... | |
(bool) | - remoteAudioDisabled |
Gets if remote audio is disabled. More... | |
(FMLiveSwitchEncodingInfo *) | - remoteAudioEncoding |
Gets the remote audio encoding. More... | |
(bool) | - remoteDataDisabled |
Gets if remote data is disabled. More... | |
(bool) | - remoteVideoDisabled |
Gets if remote video is disabled. More... | |
(FMLiveSwitchEncodingInfo *) | - remoteVideoEncoding |
Gets the remote video encoding. More... | |
(void) | - setAudioDirection: |
Sets the audio direction ("sendrecv", "sendonly", "recvonly", or "inactive"). More... | |
(void) | - setDataDirection: |
Sets the data direction ("sendrecv", "sendonly", "recvonly", or "inactive"). More... | |
(void) | - setLocalAudioDisabled: |
Sets if local audio is disabled. More... | |
(void) | - setLocalAudioMuted: |
Sets if the local audio is muted. More... | |
(void) | - setLocalDataDisabled: |
Sets if local data is disabled. More... | |
(void) | - setLocalVideoDisabled: |
Sets if local video is disabled. More... | |
(void) | - setLocalVideoMuted: |
Sets if the local video is muted. More... | |
(void) | - setRemoteAudioDisabled: |
Sets if remote audio is disabled. More... | |
(void) | - setRemoteAudioEncoding: |
Sets the remote audio encoding. More... | |
(void) | - setRemoteDataDisabled: |
Sets if remote data is disabled. More... | |
(void) | - setRemoteVideoDisabled: |
Sets if remote video is disabled. More... | |
(void) | - setRemoteVideoEncoding: |
Sets the remote video encoding. More... | |
(void) | - setTag: |
Sets the tag for this connection. More... | |
(void) | - setVideoDirection: |
Sets the video direction ("sendrecv", "sendonly", "recvonly", or "inactive"). More... | |
(NSString *) | - tag |
Gets the tag for this connection. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
(NSString *) | - videoDirection |
Gets the video direction ("sendrecv", "sendonly", "recvonly", or "inactive"). More... | |
Class Methods | |
(FMLiveSwitchConnectionConfig *) | + fromJsonWithConnectionConfigJson: |
Deserializes an instance from JSON. More... | |
(NSString *) | + toJsonWithConnectionConfig: |
Serializes an instance to JSON. More... | |
Connection configuration.
- (NSString*) audioDirection |
Gets the audio direction ("sendrecv", "sendonly", "recvonly", or "inactive").
- (NSString*) dataDirection |
Gets the data direction ("sendrecv", "sendonly", "recvonly", or "inactive").
+ (FMLiveSwitchConnectionConfig*) fromJsonWithConnectionConfigJson: | (NSString *) | connectionConfigJson |
Deserializes an instance from JSON.
connectionConfigJson | The JSON to deserialize. |
- (bool) localAudioDisabled |
Gets if local audio is disabled.
- (bool) localAudioMuted |
Gets if the local audio is muted.
- (bool) localDataDisabled |
Gets if local data is disabled.
- (bool) localVideoDisabled |
Gets if local video is disabled.
- (bool) localVideoMuted |
Gets if the local video is muted.
- (bool) remoteAudioDisabled |
Gets if remote audio is disabled.
- (FMLiveSwitchEncodingInfo*) remoteAudioEncoding |
Gets the remote audio encoding.
- (bool) remoteDataDisabled |
Gets if remote data is disabled.
- (bool) remoteVideoDisabled |
Gets if remote video is disabled.
- (FMLiveSwitchEncodingInfo*) remoteVideoEncoding |
Gets the remote video encoding.
- (void) setAudioDirection: | (NSString *) | value |
Sets the audio direction ("sendrecv", "sendonly", "recvonly", or "inactive").
- (void) setDataDirection: | (NSString *) | value |
Sets the data direction ("sendrecv", "sendonly", "recvonly", or "inactive").
- (void) setLocalAudioDisabled: | (bool) | value |
Sets if local audio is disabled.
- (void) setLocalAudioMuted: | (bool) | value |
Sets if the local audio is muted.
- (void) setLocalDataDisabled: | (bool) | value |
Sets if local data is disabled.
- (void) setLocalVideoDisabled: | (bool) | value |
Sets if local video is disabled.
- (void) setLocalVideoMuted: | (bool) | value |
Sets if the local video is muted.
- (void) setRemoteAudioDisabled: | (bool) | value |
Sets if remote audio is disabled.
- (void) setRemoteAudioEncoding: | (FMLiveSwitchEncodingInfo *) | value |
Sets the remote audio encoding.
- (void) setRemoteDataDisabled: | (bool) | value |
Sets if remote data is disabled.
- (void) setRemoteVideoDisabled: | (bool) | value |
Sets if remote video is disabled.
- (void) setRemoteVideoEncoding: | (FMLiveSwitchEncodingInfo *) | value |
Sets the remote video encoding.
- (void) setTag: | (NSString *) | value |
Sets the tag for this connection.
- (void) setVideoDirection: | (NSString *) | value |
Sets the video direction ("sendrecv", "sendonly", "recvonly", or "inactive").
- (NSString*) tag |
Gets the tag for this connection.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonWithConnectionConfig: | (FMLiveSwitchConnectionConfig *) | connectionConfig |
Serializes an instance to JSON.
connectionConfig | The connection config to serialize. |
- (NSString*) videoDirection |
Gets the video direction ("sendrecv", "sendonly", "recvonly", or "inactive").