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