Defined in: webcodecs.ts:68
One encoded frame ready to publish as a LOC object: write(payload, { properties }).
Properties
Section titled “Properties”key: boolean;Defined in: webcodecs.ts:74
Whether the frame is a key frame; start a new group on one.
payload
Section titled “payload”payload: Uint8Array;Defined in: webcodecs.ts:70
Chunk helpers copy these bytes; packet adapters may borrow them. Keep stable until the write completes.
properties
Section titled “properties”properties: KeyValuePair[];Defined in: webcodecs.ts:76
The LOC object properties: Timestamp and Timescale, plus decoder configuration on key frames when supplied.
timestampUs
Section titled “timestampUs”timestampUs: number;Defined in: webcodecs.ts:72
Presentation time in microseconds, after any timestamp offset.