interface

StopRecordingOptions

typescript
interface StopRecordingOptions

Properties

NameTypeDescription
ffmpegCloseTimeoutMs?numberMaximum time (ms) to wait for ffmpeg to close during stopRecording.
If exceeded, ffmpeg is killed with SIGKILL. Default: 30000.
Set to 0 to wait indefinitely (no timeout).
outputPathstringOutput video path — required, ffmpeg is spawned here.

Was this page helpful?