Skip to content

FrameGrouping

type FrameGrouping = "keyframe" | "frame";

Defined in: relay-sdks/ts/src/frame-writer.ts:9

How a FrameWriter maps frames onto groups. 'keyframe' is the LOC mapping for video: a keyframe FINs the open group and opens a new one, deltas append to it. 'frame' sends every frame as its own single-object group, the mapping for audio and any other independently decodable frames.