Skip to content

@camera.ui/sdk / camera / SnapshotUrlOptions

Interface: SnapshotUrlOptions

Defined in: camera/streaming.ts:163

Options for generating snapshot URLs.

Properties

cache?

optional cache?: string

Defined in: camera/streaming.ts:171

Cache key/strategy.


gop?

optional gop?: boolean

Defined in: camera/streaming.ts:175

Request keyframe at start (GOP).


height?

optional height?: number

Defined in: camera/streaming.ts:167

Output height in pixels.


hw?

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

Defined in: camera/streaming.ts:173

Hardware acceleration backend.


rotate?

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

Defined in: camera/streaming.ts:169

Rotation in degrees.


width?

optional width?: number

Defined in: camera/streaming.ts:165

Output width in pixels.