My environment is as follows
XCode version Version 14.0 beta 3 (14A5270f) iPad OS 16.0 beta 3
When querying for the devices property on a AVCapture.DiscoverySession, I get the following errors in the XCode console.
captureSourceRemote_SetProperty signalled err=-16452 (kFigCaptureSourceError_SourceNotLocked) (Source must be locked for configuration to set properties) at FigCaptureSourceRemote.m:549
captureSourceRemote_SetProperty signalled err=-16452 (kFigCaptureSourceError_SourceNotLocked) (Source must be locked for configuration to set properties) at FigCaptureSourceRemote.m:549
The code is pretty simple and as follows:
let videoDeviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .builtInUltraWideCamera],
mediaType: .video, position: .unspecified)
let devices = OFVideoDevice.videoDeviceDiscoverySession.devices
Anyone know what this is about?