Skip to content

PlatformRecording

Defined in: platform/types.ts:711

A finished recording. What it carries depends on who keeps the video: WeChat keeps it to itself and shares it on the game’s behalf, Douyin hands over a temp file, a browser hands over the encoded bytes.

readonly optional blob?: Blob

Defined in: platform/types.ts:716

The encoded video (web) — a debug preview, not something a host can share.


readonly durationMs: number

Defined in: platform/types.ts:712


readonly highlights: readonly readonly [number, number][]

Defined in: platform/types.ts:718

Highlight ranges in ms from the start of the recording, merged and in order.


readonly optional path?: string

Defined in: platform/types.ts:714

The host’s temp file for the video (Douyin).