react-native-vision-cameraInterfaces
CameraSessionConfiguration
interface CameraSessionConfigurationConfiguration for a CameraSession.
Properties
allowBackgroundAudioPlayback?
iOS
optional allowBackgroundAudioPlayback: booleanIf enabled, the CameraSession does not interrupt
currently playing audio (e.g. music from a different app),
while recording.
If disabled (the default), any playing audio will be stopped when a recording is started.
Default
falseautomaticallyAdjustsColorSpace?
iOS
optional automaticallyAdjustsColorSpace: booleanGets or sets whether the CameraSession automatically
adjusts its color-space.
By default, a wide-gamut color-space like P3 or sRGB
is selected.
Note
If you want to select a custom color-space on your
CameraController (via CameraController.colorSpace),
you must set automaticallyAdjustsColorSpace to false.
Default
true