Skip to content

@bvdmitri/web360 / Rendition

Interface: Rendition ​

Defined in: web360/src/rendition.ts:56

A recording opened for rendering one span of it.

Remarks ​

frames() yields the stitched frames of the span in order, timed in microseconds from the span's start; the caller closes each. duration is the span's length in seconds. dispose releases the GPU device; frames already yielded stay valid until closed.

Properties ​

duration ​

readonly duration: number

Defined in: web360/src/rendition.ts:58


metadata ​

readonly metadata: RenditionMetadata

Defined in: web360/src/rendition.ts:57

Methods ​

dispose() ​

dispose(): void

Defined in: web360/src/rendition.ts:60

Returns ​

void


frames() ​

frames(): AsyncGenerator<VideoFrame, void, undefined>

Defined in: web360/src/rendition.ts:59

Returns ​

AsyncGenerator<VideoFrame, void, undefined>

Released under the MIT License.