Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.SystemInfo.VideoEncodeAcceleratorCapability
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { VideoEncodeAcceleratorCapability } = Protocol.SystemInfo;

Describes a supported video encoding profile with its associated maximum resolution and maximum framerate.

Properties

profile: string

Video codec profile that is supported, e.g H264 Main.

maxResolution: Size

Maximum video dimensions in pixels supported for this |profile|.

maxFramerateNumerator: integer

Maximum encoding framerate in frames per second supported for this |profile|, as fraction's numerator and denominator, e.g. 24/1 fps, 24000/1001 fps, etc.

maxFramerateDenominator: integer