FMLiveSwitchConnectionConfig Class Reference

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...
 

Detailed Description

Connection configuration.

Method Documentation

◆ audioDirection

- (NSString*) audioDirection

Gets the audio direction ("sendrecv", "sendonly", "recvonly", or "inactive").

◆ dataDirection

- (NSString*) dataDirection

Gets the data direction ("sendrecv", "sendonly", "recvonly", or "inactive").

◆ fromJsonWithConnectionConfigJson:

+ (FMLiveSwitchConnectionConfig*) fromJsonWithConnectionConfigJson: (NSString *)  connectionConfigJson

Deserializes an instance from JSON.

Parameters
connectionConfigJsonThe JSON to deserialize.
Returns
The deserialized connection config.

◆ localAudioDisabled

- (bool) localAudioDisabled

Gets if local audio is disabled.

◆ localAudioMuted

- (bool) localAudioMuted

Gets if the local audio is muted.

◆ localDataDisabled

- (bool) localDataDisabled

Gets if local data is disabled.

◆ localVideoDisabled

- (bool) localVideoDisabled

Gets if local video is disabled.

◆ localVideoMuted

- (bool) localVideoMuted

Gets if the local video is muted.

◆ remoteAudioDisabled

- (bool) remoteAudioDisabled

Gets if remote audio is disabled.

◆ remoteAudioEncoding

- (FMLiveSwitchEncodingInfo*) remoteAudioEncoding

Gets the remote audio encoding.

◆ remoteDataDisabled

- (bool) remoteDataDisabled

Gets if remote data is disabled.

◆ remoteVideoDisabled

- (bool) remoteVideoDisabled

Gets if remote video is disabled.

◆ remoteVideoEncoding

- (FMLiveSwitchEncodingInfo*) remoteVideoEncoding

Gets the remote video encoding.

◆ setAudioDirection:

- (void) setAudioDirection: (NSString *)  value

Sets the audio direction ("sendrecv", "sendonly", "recvonly", or "inactive").

◆ setDataDirection:

- (void) setDataDirection: (NSString *)  value

Sets the data direction ("sendrecv", "sendonly", "recvonly", or "inactive").

◆ setLocalAudioDisabled:

- (void) setLocalAudioDisabled: (bool)  value

Sets if local audio is disabled.

◆ setLocalAudioMuted:

- (void) setLocalAudioMuted: (bool)  value

Sets if the local audio is muted.

◆ setLocalDataDisabled:

- (void) setLocalDataDisabled: (bool)  value

Sets if local data is disabled.

◆ setLocalVideoDisabled:

- (void) setLocalVideoDisabled: (bool)  value

Sets if local video is disabled.

◆ setLocalVideoMuted:

- (void) setLocalVideoMuted: (bool)  value

Sets if the local video is muted.

◆ setRemoteAudioDisabled:

- (void) setRemoteAudioDisabled: (bool)  value

Sets if remote audio is disabled.

◆ setRemoteAudioEncoding:

- (void) setRemoteAudioEncoding: (FMLiveSwitchEncodingInfo *)  value

Sets the remote audio encoding.

◆ setRemoteDataDisabled:

- (void) setRemoteDataDisabled: (bool)  value

Sets if remote data is disabled.

◆ setRemoteVideoDisabled:

- (void) setRemoteVideoDisabled: (bool)  value

Sets if remote video is disabled.

◆ setRemoteVideoEncoding:

- (void) setRemoteVideoEncoding: (FMLiveSwitchEncodingInfo *)  value

Sets the remote video encoding.

◆ setTag:

- (void) setTag: (NSString *)  value

Sets the tag for this connection.

◆ setVideoDirection:

- (void) setVideoDirection: (NSString *)  value

Sets the video direction ("sendrecv", "sendonly", "recvonly", or "inactive").

◆ tag

- (NSString*) tag

Gets the tag for this connection.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

◆ toJsonWithConnectionConfig:

+ (NSString*) toJsonWithConnectionConfig: (FMLiveSwitchConnectionConfig *)  connectionConfig

Serializes an instance to JSON.

Parameters
connectionConfigThe connection config to serialize.
Returns
The serialized JSON.

◆ videoDirection

- (NSString*) videoDirection

Gets the video direction ("sendrecv", "sendonly", "recvonly", or "inactive").