RecordOptions
RecordOptions =
object
Defined in: types.ts:211
Configuration options for video recording.
Example:
const options: RecordOptions = { aspectRatio: '16:9', quality: '1080p', fps: 60,}Properties
Section titled “Properties”aspectRatio?
Section titled “aspectRatio?”
optionalaspectRatio?:AspectRatio
Defined in: types.ts:221
Aspect ratio used when capturing the screen.
Together with quality this determines the xvfb display size,
browser viewport, and ffmpeg input dimensions.
See AspectRatio for all supported ratios and their pixel sizes.
Default
Section titled “Default”'16:9'
optionalfps?:FPS
Defined in: types.ts:239
Frames per second for video recording.
Default
Section titled “Default”30quality?
Section titled “quality?”
optionalquality?:Quality
Defined in: types.ts:232
Resolution quality preset used when capturing the screen.
Together with aspectRatio this determines the xvfb display size,
browser viewport, and ffmpeg input dimensions.
See Quality for the full dimension table.
Default
Section titled “Default”'1080p'