fm.liveswitch.ChannelConfig Class Reference

Channel configuration. More...

Public Member Functions

 ChannelConfig ()
 
fm.liveswitch.NullableBoolean getAudioMuted ()
 Gets whether to mute or unmute audio. More...
 
fm.liveswitch.NullableBoolean getAudioUnmuteDisabled ()
 Gets whether to disable audio unmuting. More...
 
fm.liveswitch.NullableBoolean getEnableRtmp ()
 Gets whether to enable rtmp. More...
 
String[] getExcludedClientIds ()
 Gets the client identifiers to exclude. More...
 
String[] getExcludedConnectionIds ()
 Gets the connection identifiers to exclude. More...
 
String[] getExcludedDeviceIds ()
 Gets the device identifiers to exclude. More...
 
String[] getExcludedUserIds ()
 Gets the user identifiers to exclude. More...
 
fm.liveswitch.NullableBoolean getRecording ()
 Gets whether to enable recording. More...
 
String getRecordingMode ()
 Gets the mode for the recording, if recording is being enabled. More...
 
String getRecordingTag ()
 Gets the tag for the recording, if recording is being enabled. More...
 
fm.liveswitch.NullableBoolean getVideoMuted ()
 Gets whether to mute or unmute video. More...
 
fm.liveswitch.NullableBoolean getVideoUnmuteDisabled ()
 Gets whether to disable video unmuting. More...
 
void setAudioMuted (fm.liveswitch.NullableBoolean value)
 Sets whether to mute or unmute audio. More...
 
void setAudioUnmuteDisabled (fm.liveswitch.NullableBoolean value)
 Sets whether to disable audio unmuting. More...
 
void setEnableRtmp (fm.liveswitch.NullableBoolean value)
 Sets whether to enable rtmp. More...
 
void setExcludedClientIds (String[] value)
 Sets the client identifiers to exclude. More...
 
void setExcludedConnectionIds (String[] value)
 Sets the connection identifiers to exclude. More...
 
void setExcludedDeviceIds (String[] value)
 Sets the device identifiers to exclude. More...
 
void setExcludedUserIds (String[] value)
 Sets the user identifiers to exclude. More...
 
void setRecording (fm.liveswitch.NullableBoolean value)
 Sets whether to enable recording. More...
 
void setRecordingMode (String value)
 Sets the mode for the recording, if recording is being enabled. More...
 
void setRecordingTag (String value)
 Sets the tag for the recording, if recording is being enabled. More...
 
void setVideoMuted (fm.liveswitch.NullableBoolean value)
 Sets whether to mute or unmute video. More...
 
void setVideoUnmuteDisabled (fm.liveswitch.NullableBoolean value)
 Sets whether to disable video unmuting. More...
 
String toJson ()
 Serializes this channel configuration to JSON. More...
 

Static Public Member Functions

static fm.liveswitch.ChannelConfig fromJson (String channelConfigJson)
 Deserializes a channel configuration from JSON. More...
 
static String toJson (fm.liveswitch.ChannelConfig channelConfig)
 Serializes a channel configuration to JSON. More...
 

Detailed Description

Channel configuration.

Constructor & Destructor Documentation

◆ ChannelConfig()

fm.liveswitch.ChannelConfig.ChannelConfig ( )

Member Function Documentation

◆ fromJson()

static fm.liveswitch.ChannelConfig fm.liveswitch.ChannelConfig.fromJson ( String  channelConfigJson)
static

Deserializes a channel configuration from JSON.

Parameters
channelConfigJsonThe channel configuration as JSON.
Returns
The channel configuration.

◆ getAudioMuted()

fm.liveswitch.NullableBoolean fm.liveswitch.ChannelConfig.getAudioMuted ( )

Gets whether to mute or unmute audio.

◆ getAudioUnmuteDisabled()

fm.liveswitch.NullableBoolean fm.liveswitch.ChannelConfig.getAudioUnmuteDisabled ( )

Gets whether to disable audio unmuting.

◆ getEnableRtmp()

fm.liveswitch.NullableBoolean fm.liveswitch.ChannelConfig.getEnableRtmp ( )

Gets whether to enable rtmp.

◆ getExcludedClientIds()

String [] fm.liveswitch.ChannelConfig.getExcludedClientIds ( )

Gets the client identifiers to exclude.

◆ getExcludedConnectionIds()

String [] fm.liveswitch.ChannelConfig.getExcludedConnectionIds ( )

Gets the connection identifiers to exclude.

◆ getExcludedDeviceIds()

String [] fm.liveswitch.ChannelConfig.getExcludedDeviceIds ( )

Gets the device identifiers to exclude.

◆ getExcludedUserIds()

String [] fm.liveswitch.ChannelConfig.getExcludedUserIds ( )

Gets the user identifiers to exclude.

◆ getRecording()

fm.liveswitch.NullableBoolean fm.liveswitch.ChannelConfig.getRecording ( )

Gets whether to enable recording.

◆ getRecordingMode()

String fm.liveswitch.ChannelConfig.getRecordingMode ( )

Gets the mode for the recording, if recording is being enabled.

◆ getRecordingTag()

String fm.liveswitch.ChannelConfig.getRecordingTag ( )

Gets the tag for the recording, if recording is being enabled.

◆ getVideoMuted()

fm.liveswitch.NullableBoolean fm.liveswitch.ChannelConfig.getVideoMuted ( )

Gets whether to mute or unmute video.

◆ getVideoUnmuteDisabled()

fm.liveswitch.NullableBoolean fm.liveswitch.ChannelConfig.getVideoUnmuteDisabled ( )

Gets whether to disable video unmuting.

◆ setAudioMuted()

void fm.liveswitch.ChannelConfig.setAudioMuted ( fm.liveswitch.NullableBoolean  value)

Sets whether to mute or unmute audio.

◆ setAudioUnmuteDisabled()

void fm.liveswitch.ChannelConfig.setAudioUnmuteDisabled ( fm.liveswitch.NullableBoolean  value)

Sets whether to disable audio unmuting.

◆ setEnableRtmp()

void fm.liveswitch.ChannelConfig.setEnableRtmp ( fm.liveswitch.NullableBoolean  value)

Sets whether to enable rtmp.

◆ setExcludedClientIds()

void fm.liveswitch.ChannelConfig.setExcludedClientIds ( String[]  value)

Sets the client identifiers to exclude.

◆ setExcludedConnectionIds()

void fm.liveswitch.ChannelConfig.setExcludedConnectionIds ( String[]  value)

Sets the connection identifiers to exclude.

◆ setExcludedDeviceIds()

void fm.liveswitch.ChannelConfig.setExcludedDeviceIds ( String[]  value)

Sets the device identifiers to exclude.

◆ setExcludedUserIds()

void fm.liveswitch.ChannelConfig.setExcludedUserIds ( String[]  value)

Sets the user identifiers to exclude.

◆ setRecording()

void fm.liveswitch.ChannelConfig.setRecording ( fm.liveswitch.NullableBoolean  value)

Sets whether to enable recording.

◆ setRecordingMode()

void fm.liveswitch.ChannelConfig.setRecordingMode ( String  value)

Sets the mode for the recording, if recording is being enabled.

◆ setRecordingTag()

void fm.liveswitch.ChannelConfig.setRecordingTag ( String  value)

Sets the tag for the recording, if recording is being enabled.

◆ setVideoMuted()

void fm.liveswitch.ChannelConfig.setVideoMuted ( fm.liveswitch.NullableBoolean  value)

Sets whether to mute or unmute video.

◆ setVideoUnmuteDisabled()

void fm.liveswitch.ChannelConfig.setVideoUnmuteDisabled ( fm.liveswitch.NullableBoolean  value)

Sets whether to disable video unmuting.

◆ toJson() [1/2]

String fm.liveswitch.ChannelConfig.toJson ( )

Serializes this channel configuration to JSON.

Returns
The channel configuration as JSON.

◆ toJson() [2/2]

static String fm.liveswitch.ChannelConfig.toJson ( fm.liveswitch.ChannelConfig  channelConfig)
static

Serializes a channel configuration to JSON.

Parameters
channelConfigThe channel configuration.
Returns
The channel configuration as JSON.