Class ChannelDeviceConfig
Channel device configuration.
Inheritance
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ChannelDeviceConfig
Properties
AudioMuted
Gets or sets whether to mute or unmute audio.
Declaration
public bool? AudioMuted { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
AudioUnmuteDisabled
Gets or sets whether to disable audio unmuting.
Declaration
public bool? AudioUnmuteDisabled { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
ExcludedClientIds
Gets or sets the client identifiers to exclude.
Declaration
public string[] ExcludedClientIds { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
ExcludedConnectionIds
Gets or sets the connection identifiers to exclude.
Declaration
public string[] ExcludedConnectionIds { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Recording
Gets or sets whether to enable recording.
Declaration
public bool? Recording { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
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.String |
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.String |
VideoMuted
Gets or sets whether to mute or unmute video.
Declaration
public bool? VideoMuted { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
VideoUnmuteDisabled
Gets or sets whether to disable video unmuting.
Declaration
public bool? VideoUnmuteDisabled { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Methods
FromJson(String)
Deserializes a channel device configuration from JSON.
Declaration
public static ChannelDeviceConfig FromJson(string channelDeviceConfigJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | channelDeviceConfigJson | The channel device configuration as JSON. |
Returns
Type | Description |
---|---|
ChannelDeviceConfig | The channel device configuration. |
ToJson()
Serializes this channel device configuration to JSON.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | The channel device configuration as JSON. |
ToJson(ChannelDeviceConfig)
Serializes a channel device configuration to JSON.
Declaration
public static string ToJson(ChannelDeviceConfig channelDeviceConfig)
Parameters
Type | Name | Description |
---|---|---|
ChannelDeviceConfig | channelDeviceConfig | The channel device configuration. |
Returns
Type | Description |
---|---|
System.String | The channel device configuration as JSON. |