Skip to content

LivePlaybackResource

Media without an end, such as a livestream; never seekable. Each open resolves media from the live edge, which must be destroyed when signal aborts, or undefined once the broadcast ended. A rejection means that open failed while the broadcast may still be live. Only the engine decides when to open again.

Property Type Description
container? "webm" | "mp4" Forces this container; when absent, the engine identifies the format from the bytes.
kind "live" -

optional dispose(): void | Promise<void>

void | Promise<void>


open(signal): Promise<any>

Parameter Type
signal AbortSignal

Promise<any>