Skip to content

Documentation / @debuffjp/share / ClipOptions

Interface: ClipOptions ​

Defined in: clip.ts:1

Properties ​

bitrate? ​

optional bitrate?: number

Defined in: clip.ts:7

Video bitrate in bits per second. Default 4 Mbps.


fps? ​

optional fps?: number

Defined in: clip.ts:5

Capture frame rate. Default 30.


mimeTypes? ​

optional mimeTypes?: string[]

Defined in: clip.ts:9

Preferred container types, first supported wins. Default webm (VP9, then VP8), then mp4.


seconds? ​

optional seconds?: number

Defined in: clip.ts:3

Longest clip, in seconds. Clips are always at least half this long once recording has run that long. Default 12.