RecorderSettings

interface RecorderSettings

Video Recorder settings for a Recorder created by a CameraVideoOutput.

See

Properties

location?

optional location: Location

Sets the given Location to be embedded into the video metadata using the ISO-6709 standard.


maxDuration?

optional maxDuration: number

If set, the recording automatically stops once it reaches this duration, in seconds.

When the limit is reached, the recording is finalized successfully, and the onRecordingFinished callback passed to startRecording(...) is invoked with the resulting file path — the same behavior as calling stopRecording().

Default

undefined

maxFileSize?

optional maxFileSize: number

If set, the recording automatically stops once the file reaches this size, in bytes.

When the limit is reached, the recording is finalized successfully, and the onRecordingFinished callback passed to startRecording(...) is invoked with the resulting file path — the same behavior as calling stopRecording().

Default

undefined

On this page