/ fm / liveswitch / ChannelDeviceConfig
Class: ChannelDeviceConfig
fm.liveswitch.ChannelDeviceConfig
Channel device configuration.
Table of contents
Constructors
Methods
- getAudioMuted
- getAudioUnmuteDisabled
- getExcludedClientIds
- getExcludedConnectionIds
- getRecording
- getRecordingTag
- getTypeString
- getVideoMuted
- getVideoUnmuteDisabled
- setAudioMuted
- setAudioUnmuteDisabled
- setExcludedClientIds
- setExcludedConnectionIds
- setRecording
- setRecordingTag
- setVideoMuted
- setVideoUnmuteDisabled
- toJson
- fromJson
- toJson
Constructors
constructor
+ new ChannelDeviceConfig(): ChannelDeviceConfig
Returns: ChannelDeviceConfig
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:27
Methods
getAudioMuted
▸ getAudioMuted(): boolean
Gets whether to mute or unmute audio.
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:129
getAudioUnmuteDisabled
▸ getAudioUnmuteDisabled(): boolean
Gets whether to disable audio unmuting.
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:141
getExcludedClientIds
▸ getExcludedClientIds(): string[]
Gets the client identifiers to exclude.
Returns: string[]
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:153
getExcludedConnectionIds
▸ getExcludedConnectionIds(): string[]
Gets the connection identifiers to exclude.
Returns: string[]
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:165
getRecording
▸ getRecording(): boolean
Gets whether to enable recording.
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:177
getRecordingTag
▸ getRecordingTag(): string
Gets the tag for the recording, if recording is being enabled.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:189
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:9
getVideoMuted
▸ getVideoMuted(): boolean
Gets whether to mute or unmute video.
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:201
getVideoUnmuteDisabled
▸ getVideoUnmuteDisabled(): boolean
Gets whether to disable video unmuting.
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:213
setAudioMuted
▸ setAudioMuted(value
: boolean): void
Sets whether to mute or unmute audio.
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:225
setAudioUnmuteDisabled
▸ setAudioUnmuteDisabled(value
: boolean): void
Sets whether to disable audio unmuting.
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:237
setExcludedClientIds
▸ setExcludedClientIds(value
: string[]): void
Sets the client identifiers to exclude.
Parameters:
Name | Type |
---|---|
value |
string[] |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:249
setExcludedConnectionIds
▸ setExcludedConnectionIds(value
: string[]): void
Sets the connection identifiers to exclude.
Parameters:
Name | Type |
---|---|
value |
string[] |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:261
setRecording
▸ setRecording(value
: boolean): void
Sets whether to enable recording.
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:273
setRecordingTag
▸ setRecordingTag(value
: string): void
Sets the tag for the recording, if recording is being enabled.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:285
setVideoMuted
▸ setVideoMuted(value
: boolean): void
Sets whether to mute or unmute video.
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:297
setVideoUnmuteDisabled
▸ setVideoUnmuteDisabled(value
: boolean): void
Sets whether to disable video unmuting.
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:309
toJson
▸ toJson(): string
Serializes this channel device configuration to JSON.
Returns: string
The channel device configuration as JSON.
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:322
fromJson
▸ Static
fromJson(channelDeviceConfigJson
: string): ChannelDeviceConfig
Deserializes a channel device configuration from JSON.
Parameters:
Name | Type | Description |
---|---|---|
channelDeviceConfigJson |
string | The channel device configuration as JSON. |
Returns: ChannelDeviceConfig
The channel device configuration.
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:47
toJson
▸ Static
toJson(channelDeviceConfig
: ChannelDeviceConfig): string
Serializes a channel device configuration to JSON.
Parameters:
Name | Type | Description |
---|---|---|
channelDeviceConfig |
ChannelDeviceConfig | The channel device configuration. |
Returns: string
The channel device configuration as JSON.
Defined in: Generated/TypeScript/fm.liveswitch/ChannelDeviceConfig.ts:92