CameraSessionConfiguration

interface CameraSessionConfiguration

Configuration for a CameraSession.

Properties

allowBackgroundAudioPlayback?

iOS
optional allowBackgroundAudioPlayback: boolean

If 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

false

On this page