VideoFrame
VideoFrame: {
prototype: VideoFrame;
new (image: CanvasImageSource, init?: VideoFrameInit): VideoFrame;
new (data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame;
}
prototype: VideoFrame;
new (image: CanvasImageSource, init?: VideoFrameInit): VideoFrame;
new (data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame;
}
Type declaration
- new (image: CanvasImageSource, init?: VideoFrameInit): VideoFrame
Parameters
image: CanvasImageSourceOptionalinit: VideoFrameInit
Returns VideoFrame
- new (data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame
Parameters
data: AllowSharedBufferSourceinit: VideoFrameBufferInit
Returns VideoFrame
prototype: VideoFrame