/ fm / liveswitch / PluginAudioStream
Class: PluginAudioStream
fm.liveswitch.PluginAudioStream
Hierarchy
PluginMediaStream<PluginAudioTrack>
↳ PluginAudioStream
Implements
Table of contents
Constructors
Properties
Methods
- addOnDirectionChange
- addOnDiscardBitrateNotification
- addOnDiscardBitrateRequest
- addOnLocalEncodingDisabled
- addOnLocalEncodingEnabled
- addOnReceiveDtmfTone
- addOnReceiveDtmfToneChange
- addOnSendDtmfTone
- addOnSendDtmfToneChange
- addOnStateChange
- changeDirection
- getCachedLocalDirection
- getCodecDisabled
- getControlTransportInfo
- getDirection
- getDynamicProperties
- getDynamicValue
- getExternalId
- getG722Disabled
- getHandle
- getId
- getInfo
- getInputMuted
- getLabel
- getLocalBandwidth
- getLocalCanonicalName
- getLocalDirection
- getLocalMuted
- getLocalReceive
- getLocalSend
- getLocalTrack
- getMaxReceiveBitrate
- getMaxSendBitrate
- getMediaDescriptionId
- getOpusDisabled
- getOutputMuted
- getPcmaDisabled
- getPcmuDisabled
- getPreferredCodecs
- getRemoteBandwidth
- getRemoteCanonicalName
- getRemoteDirection
- getRemoteEncoding
- getRemoteMuted
- getRemoteReceive
- getRemoteRequestedDeactivation
- getRemoteSend
- getRemoteTrack
- getSimulcastMode
- getState
- getTag
- getTransportInfo
- getType
- getTypeString
- insertDtmfTone
- insertDtmfTones
- raiseBitrateNotification
- raiseBitrateRequest
- removeOnDirectionChange
- removeOnDiscardBitrateNotification
- removeOnDiscardBitrateRequest
- removeOnLocalEncodingDisabled
- removeOnLocalEncodingEnabled
- removeOnReceiveDtmfTone
- removeOnReceiveDtmfToneChange
- removeOnSendDtmfTone
- removeOnSendDtmfToneChange
- removeOnStateChange
- setCodecDisabled
- setDynamicValue
- setExternalId
- setG722Disabled
- setInputMuted
- setLocalBandwidth
- setLocalDirection
- setLocalMuted
- setLocalReceive
- setLocalSend
- setMaxReceiveBitrate
- setMaxSendBitrate
- setOpusDisabled
- setOutputMuted
- setPcmaDisabled
- setPcmuDisabled
- setPreferredCodecs
- setRemoteEncoding
- setRemoteMuted
- setSimulcastMode
- setTag
- unsetDynamicValue
Constructors
constructor
+ new PluginAudioStream(external
: IExternalAudioStream, localTrack
: PluginAudioTrack, remoteTrack
: PluginAudioTrack): PluginAudioStream
Parameters:
Name | Type |
---|---|
external |
IExternalAudioStream |
localTrack |
PluginAudioTrack |
remoteTrack |
PluginAudioTrack |
Returns: PluginAudioStream
Inherited from: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:45
Properties
_state
• Private
_state: StreamState
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:45
Methods
addOnDirectionChange
▸ addOnDirectionChange(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:248
addOnDiscardBitrateNotification
▸ addOnDiscardBitrateNotification(value
: IAction1<BitrateNotification>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<BitrateNotification> |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:369
addOnDiscardBitrateRequest
▸ addOnDiscardBitrateRequest(value
: IAction1<BitrateRequest>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<BitrateRequest> |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:359
addOnLocalEncodingDisabled
▸ addOnLocalEncodingDisabled(value
: IAction1<EncodingInfo>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<EncodingInfo> |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:345
addOnLocalEncodingEnabled
▸ addOnLocalEncodingEnabled(value
: IAction1<EncodingInfo>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<EncodingInfo> |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:348
addOnReceiveDtmfTone
▸ addOnReceiveDtmfTone(value
: IAction1<Tone>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Tone> |
Returns: void
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:255
addOnReceiveDtmfToneChange
▸ addOnReceiveDtmfToneChange(value
: IAction1<Tone>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Tone> |
Returns: void
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:258
addOnSendDtmfTone
▸ addOnSendDtmfTone(value
: IAction1<Tone>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Tone> |
Returns: void
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:261
addOnSendDtmfToneChange
▸ addOnSendDtmfToneChange(value
: IAction1<Tone>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Tone> |
Returns: void
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:264
addOnStateChange
▸ addOnStateChange(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:128
changeDirection
▸ changeDirection(newDirection
: StreamDirection): Error
Parameters:
Name | Type |
---|---|
newDirection |
StreamDirection |
Returns: Error
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:173
getCachedLocalDirection
▸ getCachedLocalDirection(): StreamDirection
Returns: StreamDirection
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:158
getCodecDisabled
▸ getCodecDisabled(name
: string): boolean
Parameters:
Name | Type |
---|---|
name |
string |
Returns: boolean
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:292
getControlTransportInfo
▸ getControlTransportInfo(): TransportInfo
Returns: TransportInfo
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:341
getDirection
▸ getDirection(): StreamDirection
Returns: StreamDirection
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:176
getDynamicProperties
▸ getDynamicProperties(): Hash<string, Object>
Gets all dynamic properties on this instance.
Returns: Hash<string, Object>
Inherited from: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:37
getDynamicValue
▸ getDynamicValue(key
: string): Object
Gets a property value from the local cache.
Parameters:
Name | Type | Description |
---|---|---|
key |
string | The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions. |
Returns: Object
The stored value, if found; otherwise null.
Inherited from: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:58
getExternalId
▸ getExternalId(): string
Returns: string
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:182
getG722Disabled
▸ getG722Disabled(): boolean
Returns: boolean
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:302
getHandle
▸ getHandle(): number
Returns: number
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:169
getId
▸ getId(): string
Returns: string
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:179
getInfo
▸ getInfo(): MediaStreamInfo
Returns: MediaStreamInfo
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:135
getInputMuted
▸ getInputMuted(): boolean
Returns: boolean
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:209
getLabel
▸ getLabel(): string
Returns: string
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:188
getLocalBandwidth
▸ getLocalBandwidth(): number
Returns: number
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:191
getLocalCanonicalName
▸ getLocalCanonicalName(): string
Returns: string
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:212
getLocalDirection
▸ getLocalDirection(): StreamDirection
Returns: StreamDirection
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:194
getLocalMuted
▸ getLocalMuted(): boolean
Returns: boolean
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:197
getLocalReceive
▸ getLocalReceive(): boolean
Returns: boolean
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:139
getLocalSend
▸ getLocalSend(): boolean
Returns: boolean
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:142
getLocalTrack
▸ getLocalTrack(): PluginAudioTrack
Returns: PluginAudioTrack
Inherited from: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginMediaStream.ts:13
getMaxReceiveBitrate
▸ getMaxReceiveBitrate(): number
Returns: number
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:385
getMaxSendBitrate
▸ getMaxSendBitrate(): number
Returns: number
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:379
getMediaDescriptionId
▸ getMediaDescriptionId(): string
Returns: string
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:218
getOpusDisabled
▸ getOpusDisabled(): boolean
Returns: boolean
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:299
getOutputMuted
▸ getOutputMuted(): boolean
Returns: boolean
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:215
getPcmaDisabled
▸ getPcmaDisabled(): boolean
Returns: boolean
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:308
getPcmuDisabled
▸ getPcmuDisabled(): boolean
Returns: boolean
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:305
getPreferredCodecs
▸ getPreferredCodecs(): string[]
Returns: string[]
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:286
getRemoteBandwidth
▸ getRemoteBandwidth(): number
Returns: number
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:224
getRemoteCanonicalName
▸ getRemoteCanonicalName(): string
Returns: string
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:221
getRemoteDirection
▸ getRemoteDirection(): StreamDirection
Returns: StreamDirection
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:166
getRemoteEncoding
▸ getRemoteEncoding(): EncodingInfo
Returns: EncodingInfo
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:324
getRemoteMuted
▸ getRemoteMuted(): boolean
Returns: boolean
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:203
getRemoteReceive
▸ getRemoteReceive(): boolean
Returns: boolean
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:145
getRemoteRequestedDeactivation
▸ getRemoteRequestedDeactivation(): boolean
Returns: boolean
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:162
getRemoteSend
▸ getRemoteSend(): boolean
Returns: boolean
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:148
getRemoteTrack
▸ getRemoteTrack(): PluginAudioTrack
Returns: PluginAudioTrack
Inherited from: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginMediaStream.ts:19
getSimulcastMode
▸ getSimulcastMode(): SimulcastMode
Returns: SimulcastMode
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:331
getState
▸ getState(): StreamState
Returns: StreamState
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:125
getTag
▸ getTag(): string
Returns: string
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:227
getTransportInfo
▸ getTransportInfo(): TransportInfo
Returns: TransportInfo
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:338
getType
▸ getType(): StreamType
Returns: StreamType
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:230
getTypeString
▸ getTypeString(): string
Returns: string
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:8
insertDtmfTone
▸ insertDtmfTone(dtmfTone
: Tone): boolean
Parameters:
Name | Type |
---|---|
dtmfTone |
Tone |
Returns: boolean
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:267
insertDtmfTones
▸ insertDtmfTones(dtmfTones
: Tone[]): boolean
Parameters:
Name | Type |
---|---|
dtmfTones |
Tone[] |
Returns: boolean
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:270
raiseBitrateNotification
▸ raiseBitrateNotification(bitrateNotification
: BitrateNotification): boolean
Parameters:
Name | Type |
---|---|
bitrateNotification |
BitrateNotification |
Returns: boolean
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:375
raiseBitrateRequest
▸ raiseBitrateRequest(bitrateRequest
: BitrateRequest): boolean
Parameters:
Name | Type |
---|---|
bitrateRequest |
BitrateRequest |
Returns: boolean
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:365
removeOnDirectionChange
▸ removeOnDirectionChange(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:251
removeOnDiscardBitrateNotification
▸ removeOnDiscardBitrateNotification(value
: IAction1<BitrateNotification>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<BitrateNotification> |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:372
removeOnDiscardBitrateRequest
▸ removeOnDiscardBitrateRequest(value
: IAction1<BitrateRequest>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<BitrateRequest> |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:362
removeOnLocalEncodingDisabled
▸ removeOnLocalEncodingDisabled(value
: IAction1<EncodingInfo>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<EncodingInfo> |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:352
removeOnLocalEncodingEnabled
▸ removeOnLocalEncodingEnabled(value
: IAction1<EncodingInfo>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<EncodingInfo> |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:355
removeOnReceiveDtmfTone
▸ removeOnReceiveDtmfTone(value
: IAction1<Tone>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Tone> |
Returns: void
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:273
removeOnReceiveDtmfToneChange
▸ removeOnReceiveDtmfToneChange(value
: IAction1<Tone>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Tone> |
Returns: void
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:276
removeOnSendDtmfTone
▸ removeOnSendDtmfTone(value
: IAction1<Tone>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Tone> |
Returns: void
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:279
removeOnSendDtmfToneChange
▸ removeOnSendDtmfToneChange(value
: IAction1<Tone>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<Tone> |
Returns: void
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:282
removeOnStateChange
▸ removeOnStateChange(value
: IAction0): void
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:131
setCodecDisabled
▸ setCodecDisabled(name
: string, disabled
: boolean): void
Parameters:
Name | Type |
---|---|
name |
string |
disabled |
boolean |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:295
setDynamicValue
▸ setDynamicValue(key
: string, value
: Object): void
Sets a property value in the local cache.
Parameters:
Name | Type | Description |
---|---|---|
key |
string | The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions. |
value |
Object | The property value. This can be any object that needs to be stored for future use. |
Returns: void
Inherited from: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:95
setExternalId
▸ setExternalId(value
: string): void
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:185
setG722Disabled
▸ setG722Disabled(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:314
setInputMuted
▸ setInputMuted(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:239
setLocalBandwidth
▸ setLocalBandwidth(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:236
setLocalDirection
▸ setLocalDirection(value
: StreamDirection): void
Parameters:
Name | Type |
---|---|
value |
StreamDirection |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:233
setLocalMuted
▸ setLocalMuted(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:200
setLocalReceive
▸ setLocalReceive(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:151
setLocalSend
▸ setLocalSend(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:154
setMaxReceiveBitrate
▸ setMaxReceiveBitrate(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:388
setMaxSendBitrate
▸ setMaxSendBitrate(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:382
setOpusDisabled
▸ setOpusDisabled(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:311
setOutputMuted
▸ setOutputMuted(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:242
setPcmaDisabled
▸ setPcmaDisabled(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:320
setPcmuDisabled
▸ setPcmuDisabled(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Implementation of: IInternalAudioStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:317
setPreferredCodecs
▸ setPreferredCodecs(names
: string[]): void
Parameters:
Name | Type |
---|---|
names |
string[] |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:289
setRemoteEncoding
▸ setRemoteEncoding(value
: EncodingInfo): void
Parameters:
Name | Type |
---|---|
value |
EncodingInfo |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:327
setRemoteMuted
▸ setRemoteMuted(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:206
setSimulcastMode
▸ setSimulcastMode(value
: SimulcastMode): void
Parameters:
Name | Type |
---|---|
value |
SimulcastMode |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:334
setTag
▸ setTag(value
: string): void
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Implementation of: IInternalAudioStream
Overrides: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/PluginAudioStream.ts:245
unsetDynamicValue
▸ unsetDynamicValue(key
: string): boolean
Removes a property value from the local cache. Returns true if the value was removed and returns false otherwise.
Parameters:
Name | Type | Description |
---|---|---|
key |
string | The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions. |
Returns: boolean
true
if the value was removed; otherwise, false
.
Inherited from: PluginMediaStream
Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:122