Defined in: moq-media/dist/webcodecs.d.ts:15
One encoded frame ready to publish as a LOC object: write(payload, { properties }).
Properties
Section titled “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
Section titled “payload”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
Section titled “properties”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
Section titled “timestampUs”timestampUs: number;Defined in: moq-media/dist/webcodecs.d.ts:19
Presentation time in microseconds, after any timestamp offset.