Class ChannelClientConfig
Channel client configuration.
Inheritance
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ChannelClientConfig
Properties
AudioMuted
Gets or sets whether to mute or unmute audio.
Declaration
public bool? AudioMuted { get; set; }
Property Value
Type | Description |
---|---|
System. |
AudioUnmuteDisabled
Gets or sets whether to disable audio unmuting.
Declaration
public bool? AudioUnmuteDisabled { get; set; }
Property Value
Type | Description |
---|---|
System. |
ExcludedConnectionIds
Gets or sets the connection identifiers to exclude.
Declaration
public string[] ExcludedConnectionIds { get; set; }
Property Value
Type | Description |
---|---|
System. |
Recording
Gets or sets whether to enable recording.
Declaration
public bool? Recording { get; set; }
Property Value
Type | Description |
---|---|
System. |
RecordingMode
Gets or sets the mode for the recording, if recording is being enabled.
Declaration
public string RecordingMode { get; set; }
Property Value
Type | Description |
---|---|
System. |
RecordingTag
Gets or sets the tag for the recording, if recording is being enabled.
Declaration
public string RecordingTag { get; set; }
Property Value
Type | Description |
---|---|
System. |
VideoMuted
Gets or sets whether to mute or unmute video.
Declaration
public bool? VideoMuted { get; set; }
Property Value
Type | Description |
---|---|
System. |
VideoUnmuteDisabled
Gets or sets whether to disable video unmuting.
Declaration
public bool? VideoUnmuteDisabled { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
FromJson(String)
Deserializes a channel client configuration from JSON.
Declaration
public static ChannelClientConfig FromJson(string channelClientConfigJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
channelClientConfigJson | The channel client configuration as JSON. |
Returns
Type | Description |
---|---|
Channel |
The channel client configuration. |
ToJson()
Serializes this channel client configuration to JSON.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System. |
The channel client configuration as JSON. |
ToJson(ChannelClientConfig)
Serializes a channel client configuration to JSON.
Declaration
public static string ToJson(ChannelClientConfig channelClientConfig)
Parameters
Type | Name | Description |
---|---|---|
Channel |
channelClientConfig | The channel client configuration. |
Returns
Type | Description |
---|---|
System. |
The channel client configuration as JSON. |