CameraManager icon indicating copy to clipboard operation
CameraManager copied to clipboard

Crash when setup CameraManager

Open piv199 opened this issue 4 years ago • 3 comments

"*** -[AVCaptureSession startRunning] startRunning may not be called between calls to beginConfiguration and commitConfiguration"

Example setup:

public private(set) lazy var cameraManager = with(CameraManager()) {
            $0.shouldEnableExposure = false
            $0.cameraDevice = .front
            $0.writeFilesToPhoneLibrary = false
            $0.cameraOutputMode = .videoWithMic
            $0.cameraOutputQuality = .hd1280x720
        }

And I have the same call as in example app

cameraManager.addPreviewLayerToView(cameraView, newCameraOutputMode: .videoWithMic)

piv199 avatar May 25 '21 12:05 piv199

Hello @piv199,

Were you able to find a solution to resolve this crash?

Hamna21 avatar Jan 17 '22 07:01 Hamna21

some issue

villyGreen avatar Feb 29 '24 02:02 villyGreen