/ fm / liveswitch / WssAudioDecoder
Class: WssAudioDecoder
fm.liveswitch.WssAudioDecoder
Table of contents
Constructors
Methods
Constructors
constructor
+ new WssAudioDecoder(outboundMessagePort
: MessagePort, inboundMessagePort
: MessagePort): WssAudioDecoder
Parameters:
Name | Type |
---|---|
outboundMessagePort |
MessagePort |
inboundMessagePort |
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
getStats
▸ getStats(): Promise<{ [key: string]: number; }>
Returns: Promise<{ [key: string]: number; }>
Defined in: Generated/TypeScript/fm.liveswitch/WssAudioDecoder.ts:27
stop
▸ stop(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssAudioDecoder.ts:23