/ fm / liveswitch / WssAudioDecoder
Class: WssAudioDecoder
fm.liveswitch.WssAudioDecoder
Table of contents
Constructors
Methods
Constructors
constructor
+ new WssAudioDecoder(messagePort
: MessagePort): WssAudioDecoder
Parameters:
Name | Type |
---|---|
messagePort |
MessagePort |
Returns: WssAudioDecoder
Defined in: Generated/TypeScript/fm.liveswitch/WssAudioDecoder.ts:5
Methods
decode
▸ decode(frame
: ArrayBuffer, timestamp
: number): void
Parameters:
Name | Type |
---|---|
frame |
ArrayBuffer |
timestamp |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssAudioDecoder.ts:19
stop
▸ stop(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssAudioDecoder.ts:23