/ fm / liveswitch / ChannelConnectionConfig
Class: ChannelConnectionConfig
fm.liveswitch.ChannelConnectionConfig
Channel connection configuration.
Table of contents
Constructors
Methods
- getAudioMuted
- getAudioUnmuteDisabled
- getRecording
- getRecordingMode
- getRecordingTag
- getTypeString
- getVideoMuted
- getVideoUnmuteDisabled
- setAudioMuted
- setAudioUnmuteDisabled
- setRecording
- setRecordingMode
- setRecordingTag
- setVideoMuted
- setVideoUnmuteDisabled
- toJson
- fromJson
- toJson
Constructors
constructor
+ new ChannelConnectionConfig(): ChannelConnectionConfig
Returns: ChannelConnectionConfig
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:25
Methods
getAudioMuted
▸ getAudioMuted(): boolean
Gets whether to mute or unmute audio.
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:121
getAudioUnmuteDisabled
▸ getAudioUnmuteDisabled(): boolean
Gets whether to disable audio unmuting.
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:133
getRecording
▸ getRecording(): boolean
Gets whether to enable recording.
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:145
getRecordingMode
▸ getRecordingMode(): string
Gets the mode for the recording, if recording is being enabled.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:157
getRecordingTag
▸ getRecordingTag(): string
Gets the tag for the recording, if recording is being enabled.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:169
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:9
getVideoMuted
▸ getVideoMuted(): boolean
Gets whether to mute or unmute video.
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:181
getVideoUnmuteDisabled
▸ getVideoUnmuteDisabled(): boolean
Gets whether to disable video unmuting.
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:193
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/ChannelConnectionConfig.ts:205
setAudioUnmuteDisabled
▸ setAudioUnmuteDisabled(value
: boolean): void
Sets whether to disable audio unmuting.
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:217
setRecording
▸ setRecording(value
: boolean): void
Sets whether to enable recording.
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:229
setRecordingMode
▸ setRecordingMode(value
: string): void
Sets the mode for the recording, if recording is being enabled.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:241
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/ChannelConnectionConfig.ts:253
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/ChannelConnectionConfig.ts:265
setVideoUnmuteDisabled
▸ setVideoUnmuteDisabled(value
: boolean): void
Sets whether to disable video unmuting.
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:277
toJson
▸ toJson(): string
Serializes this channel client configuration to JSON.
Returns: string
The channel client configuration as JSON.
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:290
fromJson
▸ Static
fromJson(channelConnectionConfigJson
: string): ChannelConnectionConfig
Deserializes a channel connection configuration from JSON.
Parameters:
Name | Type | Description |
---|---|---|
channelConnectionConfigJson |
string | The channel connection configuration as JSON. |
Returns: ChannelConnectionConfig
The channel connection configuration.
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:45
toJson
▸ Static
toJson(channelConnectionConfig
: ChannelConnectionConfig): string
Serializes a channel connection configuration to JSON.
Parameters:
Name | Type | Description |
---|---|---|
channelConnectionConfig |
ChannelConnectionConfig | The channel connection configuration. |
Returns: string
The channel connection configuration as JSON.
Defined in: Generated/TypeScript/fm.liveswitch/ChannelConnectionConfig.ts:87