Skip to content

@camera.ui/sdk / camera / SnapshotUrlOptions

Interface: SnapshotUrlOptions ​

Defined in: camera/streaming.ts:167

Options for generating snapshot URLs.

Properties ​

cache? ​

optional cache?: string

Defined in: camera/streaming.ts:175

Cache key/strategy.


gop? ​

optional gop?: boolean

Defined in: camera/streaming.ts:179

Request keyframe at start (GOP).


height? ​

optional height?: number

Defined in: camera/streaming.ts:171

Output height in pixels.


hw? ​

optional hw?: "cuda" | "vaapi" | "videotoolbox" | "dxva2" | "rkmpp" | "v4l2m2m"

Defined in: camera/streaming.ts:177

Hardware acceleration backend.


rotate? ​

optional rotate?: 270 | 90 | 180 | -90

Defined in: camera/streaming.ts:173

Rotation in degrees.


width? ​

optional width?: number

Defined in: camera/streaming.ts:169

Output width in pixels.