Connection configuration. More...
Public Member Functions | |
| String | getAudioDirection () |
| Gets the audio direction ("sendrecv", "sendonly", "recvonly", or "inactive"). More... | |
| String | getDataDirection () |
| Gets the data direction ("sendrecv", "sendonly", "recvonly", or "inactive"). More... | |
| boolean | getLocalAudioDisabled () |
| Gets if local audio is disabled. More... | |
| boolean | getLocalAudioMuted () |
| Gets if the local audio is muted. More... | |
| boolean | getLocalDataDisabled () |
| Gets if local data is disabled. More... | |
| boolean | getLocalVideoDisabled () |
| Gets if local video is disabled. More... | |
| boolean | getLocalVideoMuted () |
| Gets if the local video is muted. More... | |
| boolean | getRemoteAudioDisabled () |
| Gets if remote audio is disabled. More... | |
| fm.liveswitch.EncodingInfo | getRemoteAudioEncoding () |
| Gets the remote audio encoding. More... | |
| boolean | getRemoteDataDisabled () |
| Gets if remote data is disabled. More... | |
| boolean | getRemoteVideoDisabled () |
| Gets if remote video is disabled. More... | |
| fm.liveswitch.EncodingInfo | getRemoteVideoEncoding () |
| Gets the remote video encoding. More... | |
| String | getTag () |
| Gets the tag for this connection. More... | |
| String | getVideoDirection () |
| Gets the video direction ("sendrecv", "sendonly", "recvonly", or "inactive"). More... | |
| void | setAudioDirection (String value) |
| Sets the audio direction ("sendrecv", "sendonly", "recvonly", or "inactive"). More... | |
| void | setDataDirection (String value) |
| Sets the data direction ("sendrecv", "sendonly", "recvonly", or "inactive"). More... | |
| void | setLocalAudioDisabled (boolean value) |
| Sets if local audio is disabled. More... | |
| void | setLocalAudioMuted (boolean value) |
| Sets if the local audio is muted. More... | |
| void | setLocalDataDisabled (boolean value) |
| Sets if local data is disabled. More... | |
| void | setLocalVideoDisabled (boolean value) |
| Sets if local video is disabled. More... | |
| void | setLocalVideoMuted (boolean value) |
| Sets if the local video is muted. More... | |
| void | setRemoteAudioDisabled (boolean value) |
| Sets if remote audio is disabled. More... | |
| void | setRemoteAudioEncoding (fm.liveswitch.EncodingInfo value) |
| Sets the remote audio encoding. More... | |
| void | setRemoteDataDisabled (boolean value) |
| Sets if remote data is disabled. More... | |
| void | setRemoteVideoDisabled (boolean value) |
| Sets if remote video is disabled. More... | |
| void | setRemoteVideoEncoding (fm.liveswitch.EncodingInfo value) |
| Sets the remote video encoding. More... | |
| void | setTag (String value) |
| Sets the tag for this connection. More... | |
| void | setVideoDirection (String value) |
| Sets the video direction ("sendrecv", "sendonly", "recvonly", or "inactive"). More... | |
| String | toJson () |
| Serializes this instance to JSON. More... | |
Static Public Member Functions | |
| static fm.liveswitch.ConnectionConfig | fromJson (String connectionConfigJson) |
| Deserializes an instance from JSON. More... | |
| static String | toJson (fm.liveswitch.ConnectionConfig connectionConfig) |
| Serializes an instance to JSON. More... | |
Connection configuration.
|
static |
Deserializes an instance from JSON.
| connectionConfigJson | The JSON to deserialize. |
| String fm.liveswitch.ConnectionConfig.getAudioDirection | ( | ) |
Gets the audio direction ("sendrecv", "sendonly", "recvonly", or "inactive").
| String fm.liveswitch.ConnectionConfig.getDataDirection | ( | ) |
Gets the data direction ("sendrecv", "sendonly", "recvonly", or "inactive").
| boolean fm.liveswitch.ConnectionConfig.getLocalAudioDisabled | ( | ) |
Gets if local audio is disabled.
| boolean fm.liveswitch.ConnectionConfig.getLocalAudioMuted | ( | ) |
Gets if the local audio is muted.
| boolean fm.liveswitch.ConnectionConfig.getLocalDataDisabled | ( | ) |
Gets if local data is disabled.
| boolean fm.liveswitch.ConnectionConfig.getLocalVideoDisabled | ( | ) |
Gets if local video is disabled.
| boolean fm.liveswitch.ConnectionConfig.getLocalVideoMuted | ( | ) |
Gets if the local video is muted.
| boolean fm.liveswitch.ConnectionConfig.getRemoteAudioDisabled | ( | ) |
Gets if remote audio is disabled.
| fm.liveswitch.EncodingInfo fm.liveswitch.ConnectionConfig.getRemoteAudioEncoding | ( | ) |
Gets the remote audio encoding.
| boolean fm.liveswitch.ConnectionConfig.getRemoteDataDisabled | ( | ) |
Gets if remote data is disabled.
| boolean fm.liveswitch.ConnectionConfig.getRemoteVideoDisabled | ( | ) |
Gets if remote video is disabled.
| fm.liveswitch.EncodingInfo fm.liveswitch.ConnectionConfig.getRemoteVideoEncoding | ( | ) |
Gets the remote video encoding.
| String fm.liveswitch.ConnectionConfig.getTag | ( | ) |
Gets the tag for this connection.
| String fm.liveswitch.ConnectionConfig.getVideoDirection | ( | ) |
Gets the video direction ("sendrecv", "sendonly", "recvonly", or "inactive").
| void fm.liveswitch.ConnectionConfig.setAudioDirection | ( | String | value | ) |
Sets the audio direction ("sendrecv", "sendonly", "recvonly", or "inactive").
| void fm.liveswitch.ConnectionConfig.setDataDirection | ( | String | value | ) |
Sets the data direction ("sendrecv", "sendonly", "recvonly", or "inactive").
| void fm.liveswitch.ConnectionConfig.setLocalAudioDisabled | ( | boolean | value | ) |
Sets if local audio is disabled.
| void fm.liveswitch.ConnectionConfig.setLocalAudioMuted | ( | boolean | value | ) |
Sets if the local audio is muted.
| void fm.liveswitch.ConnectionConfig.setLocalDataDisabled | ( | boolean | value | ) |
Sets if local data is disabled.
| void fm.liveswitch.ConnectionConfig.setLocalVideoDisabled | ( | boolean | value | ) |
Sets if local video is disabled.
| void fm.liveswitch.ConnectionConfig.setLocalVideoMuted | ( | boolean | value | ) |
Sets if the local video is muted.
| void fm.liveswitch.ConnectionConfig.setRemoteAudioDisabled | ( | boolean | value | ) |
Sets if remote audio is disabled.
| void fm.liveswitch.ConnectionConfig.setRemoteAudioEncoding | ( | fm.liveswitch.EncodingInfo | value | ) |
Sets the remote audio encoding.
| void fm.liveswitch.ConnectionConfig.setRemoteDataDisabled | ( | boolean | value | ) |
Sets if remote data is disabled.
| void fm.liveswitch.ConnectionConfig.setRemoteVideoDisabled | ( | boolean | value | ) |
Sets if remote video is disabled.
| void fm.liveswitch.ConnectionConfig.setRemoteVideoEncoding | ( | fm.liveswitch.EncodingInfo | value | ) |
Sets the remote video encoding.
| void fm.liveswitch.ConnectionConfig.setTag | ( | String | value | ) |
Sets the tag for this connection.
| void fm.liveswitch.ConnectionConfig.setVideoDirection | ( | String | value | ) |
Sets the video direction ("sendrecv", "sendonly", "recvonly", or "inactive").
| String fm.liveswitch.ConnectionConfig.toJson | ( | ) |
Serializes this instance to JSON.
|
static |
Serializes an instance to JSON.
| connectionConfig | The connection config to serialize. |