VideoColorSpace: fullRange property
WebCodecs APIwindowanddedicated
WebCodecs APIwindow_and_dedicated
The fullRange read-only property of the VideoColorSpace interface returns true if full-range color values are used.
Value
A Boolean, true if full-range color values are used.
Examples
In the following example, colorSpace is a VideoColorSpace object returned from VideoFrame. The value of fullRange is printed to the console.
let colorSpace = VideoFrame.colorSpace;
console.log(colorSpace.fullRange);