Class ChannelConnectionConfig
Channel connection configuration.
Inheritance
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ChannelConnectionConfig : 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> |
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 connection configuration from JSON.
Declaration
public static ChannelConnectionConfig FromJson(string channelConnectionConfigJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | channelConnectionConfigJson | The channel connection configuration as JSON. |
Returns
Type | Description |
---|---|
ChannelConnectionConfig | The channel connection 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(ChannelConnectionConfig)
Serializes a channel connection configuration to JSON.
Declaration
public static string ToJson(ChannelConnectionConfig channelConnectionConfig)
Parameters
Type | Name | Description |
---|---|---|
ChannelConnectionConfig | channelConnectionConfig | The channel connection configuration. |
Returns
Type | Description |
---|---|
System.String | The channel connection configuration as JSON. |