Skip to content

PacketToLocFrameOptions

Defined in: moq-mediabunny/src/index.ts:8

Options for packetToLocFrame. Decoder configuration is attached to key packets only.

audioConfig?: Uint8Array<ArrayBufferLike>;

Defined in: moq-media/dist/loc.d.ts:37

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

LocPropertiesOptions.audioConfig


timescale?: number;

Defined in: moq-media/dist/loc.d.ts:33

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

LocPropertiesOptions.timescale


timestampOffsetUs?: number;

Defined in: moq-mediabunny/src/index.ts:10

Added to the packet timestamp. Use one shared offset for all tracks with negative file timestamps.


videoConfig?: Uint8Array<ArrayBufferLike>;

Defined in: moq-media/dist/loc.d.ts:35

Supply decoder configuration on keyframes only.

LocPropertiesOptions.videoConfig