VideoOutputOptions
Configuration options of a CameraVideoOutput, see CameraFactory.createVideoOutput.
Properties
Whether to record audio. Requires the microphone permission.
Whether to allow higher resolution (and possibly higher bit-rate and frame rate) codecs, at the risk of higher power usage and device-specific instability. Android only.
Whether the recorder is persistent, i.e. keeps recording while switching cameras. It may use a less native recording path: an AVCaptureVideoDataOutput + AVAssetWriter pipeline on iOS, asPersistentRecording() on Android.
The container file type. Android always records .mp4 and ignores it.
The target bit-rate, in bits per second, or null for the encoder's default.
The target video resolution. The CameraSession negotiates it with the other outputs and constraints, so it may not be met exactly; its aspect ratio is prioritized over its pixel count.