Interface VideoFrame

interface VideoFrame {
    codedHeight: number;
    codedRect: DOMRectReadOnly;
    codedWidth: number;
    colorSpace: VideoColorSpace;
    displayHeight: number;
    displayWidth: number;
    duration: number;
    format: VideoPixelFormat;
    timestamp: number;
    visibleRect: DOMRectReadOnly;
    allocationSize(options?): number;
    clone(): VideoFrame;
    close(): void;
    copyTo(destination, options?): Promise<PlaneLayout[]>;
}

Properties

codedHeight: number
codedRect: DOMRectReadOnly
codedWidth: number
colorSpace: VideoColorSpace
displayHeight: number
displayWidth: number
duration: number
timestamp: number
visibleRect: DOMRectReadOnly

Methods

  • Returns void