Skip to content

node-av / lib / IOSurfaceFrame

Interface: IOSurfaceFrame ​

Defined in: src/lib/frame.ts:56

Options for Frame.fromIOSurface (macOS only).

Creates a zero-copy hardware frame from an IOSurface handle. Width and height are auto-detected from the IOSurface.

Properties ​

hwFramesCtx ​

hwFramesCtx: HardwareFramesContext

Defined in: src/lib/frame.ts:57


pts? ​

optional pts?: bigint

Defined in: src/lib/frame.ts:59


timeBase? ​

optional timeBase?: IRational

Defined in: src/lib/frame.ts:58