RecorderSettings
interface RecorderSettingsVideo Recorder settings for a Recorder
created by a CameraVideoOutput.
See
Properties
filePath?
optional filePath?: stringThe absolute path (including file name and extension) where
the recording file should be written to, or undefined to
create a file in the device's temporary directory.
Pass a filesystem path, not a file:// URL.
All parent directories in this filePath will
be automatically created if they do not yet exist.
Default
undefinedlocation?
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