RecordOptions interface
Signature
export interface RecordOptions
Properties
Property | Modifiers | Type | Description | Default |
|---|---|---|---|---|
| audio |
| boolean | Whether to record audio. |
|
| fps |
| number | Frame rate in frames per second (alias for frameRate). | |
| frameRate |
| number | Maximum frame rate in frames per second. | |
| maxHeight |
| number | Maximum frame height in pixels. | |
| maxWidth |
| number | Maximum frame width in pixels. | |
| overwrite |
| boolean | Specifies whether to overwrite output file, or exit immediately if it already exists. |
|
| path |
| string | File path to save the recording to. |