Skip to main content

Type Alias: VideoStreamGetSnapshotOptions

VideoStreamGetSnapshotOptions = object

Defined in: src/video/VideoStream.ts:25

Properties

height?

optional height: number

Defined in: src/video/VideoStream.ts:29

The target height, defaults to the video height.


mimeType?

optional mimeType: string

Defined in: src/video/VideoStream.ts:33

The MIME type for base64 output.


outputFormat?

optional outputFormat: "texture" | "base64" | "imageData"

Defined in: src/video/VideoStream.ts:31

The output format, defaults to 'texture'.


quality?

optional quality: number

Defined in: src/video/VideoStream.ts:35

The quality for base64 output.


width?

optional width: number

Defined in: src/video/VideoStream.ts:27

The target width, defaults to the video width.