TimedPlaybackResource
Media that can only start at a time; open returns the container header, then media from at or before seconds.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
container? |
"webm" | "mp4" |
Forces this container; when absent, the engine identifies the format from the bytes. |
kind |
"timed" |
- |
Methods
Section titled “Methods”dispose()?
Section titled “dispose()?”
optionaldispose():void|Promise<void>
Returns
Section titled “Returns”void | Promise<void>
open()
Section titled “open()”open(
seconds,signal):Readable
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
seconds |
number |
signal |
AbortSignal |
Returns
Section titled “Returns”Readable