RecorderSettings
interface RecorderSettingsVideo Recorder settings for a Recorder
created by a CameraVideoOutput.
See
Properties
location?
optional location: LocationSets the given Location to be embedded
into the video metadata using the ISO-6709 standard.
maxDuration?
optional maxDuration: numberIf 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
undefinedmaxFileSize?
optional maxFileSize: numberIf 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