Skip to main content

VideoFrame-1

VideoFrame: {
(image, init?): VideoFrame;
(data, init): VideoFrame;
prototype: VideoFrame;
};

Type Declaration

Call Signature

new VideoFrame(image, init?): VideoFrame;

Parameters

ParameterType
imageCanvasImageSource
init?VideoFrameInit

Returns

VideoFrame

Call Signature

new VideoFrame(data, init): VideoFrame;

Parameters

ParameterType
dataAllowSharedBufferSource
initVideoFrameBufferInit

Returns

VideoFrame

prototype

prototype: VideoFrame;