Skip to content

videoTrackFromDecoderConfig

function videoTrackFromDecoderConfig(config): VideoTrackInfo;

Defined in: webcodecs.ts:15

Map an AVC WebCodecs decoder config; encoded packets must already be length-prefixed.

Parameter Type
config VideoDecoderConfig

VideoTrackInfo