Skip to content

ChunkToLocFrameOptions

Defined in: webcodecs.ts:80

Options for chunkToLocFrame. Decoder configuration is attached to key chunks only.

audioConfig?: Uint8Array<ArrayBufferLike>;

Defined in: loc.ts:49

Audio decoder configuration, emitted as Audio Config. Supply it on keyframes only.

LocPropertiesOptions.audioConfig


timescale?: number;

Defined in: loc.ts:45

Ticks per second for the emitted Timestamp; a positive safe integer. Default MICROSECONDS_PER_SECOND.

LocPropertiesOptions.timescale


timestampOffsetUs?: number;

Defined in: webcodecs.ts:82

Added to the chunk timestamp. Use one shared offset across tracks to normalize negative timestamps.


videoConfig?: Uint8Array<ArrayBufferLike>;

Defined in: loc.ts:47

Supply decoder configuration on keyframes only.

LocPropertiesOptions.videoConfig