Hi,
For a video recording app I'm building I'm allowing the users to record different cameras into separate video files. To achieve this I am using an instance of AVCaptureMultiCamSession with as much AVCaptureVideoDataOutputs as there are AVCaptureDevices (for video) configured to the session. Then for each AVCaptureVideoDataOutput there is an AVAssetWriter, to write the video data into a video file.
I'm having some difficulties to (let the user) find the most advanced format available for the given selection of camera's. For a single camera this is straight forward: just choose the most suitable format from all available formats presented by the AVCaptureDevice. However, for multiple cameras this is a bit of a headache, due to the fact that the hardware capabilities of the device (AVCaptureMultiCamSession.hardwareCost) are limiting the possibilities.
The only solution I can think of is just trying to configure the capture session with the preferred set of AVCaptureDevices and format and see if it runs. This however isn't a very elegant solution as for every adjustment a capture session needs to be configured. It also means the user wouldn't be able to make small adjustments quickly, as the actual capture session of the app needs to be shut down to test the possible new configuration.
Does anyone know a better or more elegant solution to this problem?