Defined in: relay-sdks/ts/src/frame-writer.ts:15
One encoded frame as the frame writer sees it. Any object with these fields qualifies, @caprid/moq-media’s LocFrame
among them, so nothing is converted between the encoder and the writer.
Properties
Section titled “Properties”discontinuity?
Section titled “discontinuity?”readonly discontinuity?: boolean;Defined in: relay-sdks/ts/src/frame-writer.ts:23
Frames before this one were dropped, so an open group can no longer be completed and is reset.
readonly key: boolean;Defined in: relay-sdks/ts/src/frame-writer.ts:19
A random-access point: under keyframe grouping it starts a new group.
payload
Section titled “payload”readonly payload: ArrayBufferView;Defined in: relay-sdks/ts/src/frame-writer.ts:17
The object payload. Keep it unchanged until the frame’s write settles.
properties?
Section titled “properties?”readonly properties?: readonly PublishProperty[];Defined in: relay-sdks/ts/src/frame-writer.ts:21
The object properties sent with the frame, already built (for LOC media, locProperties).