Skip to content

@camera.ui/sdk / camera / SnapshotUrlOptions

Interface: SnapshotUrlOptions

Defined in: camera/streaming.ts:191

Options for generating snapshot URLs.

Properties

cache?

optional cache?: string

Defined in: camera/streaming.ts:199

Cache key/strategy


gop?

optional gop?: boolean

Defined in: camera/streaming.ts:203

Request keyframe at start (GOP)


height?

optional height?: number

Defined in: camera/streaming.ts:195

Output height in pixels


hw?

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

Defined in: camera/streaming.ts:201

Hardware acceleration backend


rotate?

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

Defined in: camera/streaming.ts:197

Rotation in degrees


width?

optional width?: number

Defined in: camera/streaming.ts:193

Output width in pixels