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.
Properties
Section titled “Properties”
readonlyoptionalblob?:Blob
Defined in: platform/types.ts:716
The encoded video (web) — a debug preview, not something a host can share.
durationMs
Section titled “durationMs”
readonlydurationMs:number
Defined in: platform/types.ts:712
highlights
Section titled “highlights”
readonlyhighlights: readonly readonly [number,number][]
Defined in: platform/types.ts:718
Highlight ranges in ms from the start of the recording, merged and in order.
readonlyoptionalpath?:string
Defined in: platform/types.ts:714
The host’s temp file for the video (Douyin).