@kontext21/k21


@kontext21/k21 / CaptureConfig

Interface: CaptureConfig

Defined in: types.ts:3

Configuration options for screen capture

Properties

duration?

optional duration: number

Defined in: types.ts:7

Total duration of capture in seconds. Default: 10


fps?

optional fps: number

Defined in: types.ts:5

Frames per second for capture. Default: 1


saveScreenshotTo?

optional saveScreenshotTo: string

Defined in: types.ts:9

Path where screenshots should be saved. If not provided, screenshots won’t be saved


saveVideoTo?

optional saveVideoTo: string

Defined in: types.ts:11

Path where video should be saved. If not provided, video won’t be saved


videoChunkDuration?

optional videoChunkDuration: number

Defined in: types.ts:13

Duration of each video chunk in seconds. Default: 60