Type
WrappedCanvas
A canvas with additional timing information (timestamp & duration).
ts
type WrappedCanvas = {
canvas: HTMLCanvasElement | OffscreenCanvas;
timestamp: number;
duration: number;
};Used by
Properties
canvas
ts
canvas: HTMLCanvasElement | OffscreenCanvas;A canvas element or offscreen canvas.
timestamp
ts
timestamp: number;The timestamp of the corresponding video sample, in seconds.
duration
ts
duration: number;The duration of the corresponding video sample, in seconds.