Skip to content

audioTrackFromDecoderConfig

function audioTrackFromDecoderConfig(config): AudioTrackInfo;

Defined in: webcodecs.ts:35

Map an Opus decoder config, preserving its channel count and using the LOC/MSF 48 kHz convention.

Parameter Type
config AudioDecoderConfig

AudioTrackInfo