Class ChannelClientConfig
Channel client configuration.
Inheritance
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ChannelClientConfig : object
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> |
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 client configuration from JSON.
Declaration
public static ChannelClientConfig FromJson(string channelClientConfigJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | channelClientConfigJson | The channel client configuration as JSON. |
Returns
Type | Description |
---|---|
ChannelClientConfig | The channel client configuration. |
ToJson()
Serializes this channel client configuration to JSON.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | 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 |
---|---|---|
ChannelClientConfig | channelClientConfig | The channel client configuration. |
Returns
Type | Description |
---|---|
System.String | The channel client configuration as JSON. |