Skip to content

LocFrame

Defined in: moq-media/dist/webcodecs.d.ts:15

One encoded frame ready to publish as a LOC object: write(payload, { properties }).

key: boolean;

Defined in: moq-media/dist/webcodecs.d.ts:21

Whether the frame is a key frame; start a new group on one.


payload: Uint8Array;

Defined in: moq-media/dist/webcodecs.d.ts:17

Chunk helpers copy these bytes; packet adapters may borrow them. Keep stable until the write completes.


properties: KeyValuePair[];

Defined in: moq-media/dist/webcodecs.d.ts:23

The LOC object properties: Timestamp and Timescale, plus decoder configuration on key frames when supplied.


timestampUs: number;

Defined in: moq-media/dist/webcodecs.d.ts:19

Presentation time in microseconds, after any timestamp offset.