Type Alias: DecodedFrame
type DecodedFrame = {
pixels: VideoFrame | OffscreenCanvas;
dimensions_in_pixels: Vec2i;
meta_data: FrameMetaData;
};
Defined in: livelink.js/sources/rendering/streaming/EncodedFrameConsumer.ts:26
Type declaration
Name | Type | Description |
---|---|---|
pixels | VideoFrame | OffscreenCanvas | The decoded frame data. |
dimensions_in_pixels | Vec2i | Frame dimensions in pixels. |
meta_data | FrameMetaData | Meta data about the frame. |