CameraManager icon indicating copy to clipboard operation
CameraManager copied to clipboard

video recording crash (No active/enabled connections)

Open MarsXan opened this issue 4 years ago • 6 comments

When I stop recording and tap again in the recording button it crashes. [AVCaptureMovieFileOutput startRecordingToOutputFileURL:recordingDelegate:] No active/enabled connections"

Screen Shot 2020-08-08 at 9 43 14 AM

MarsXan avatar Aug 08 '20 05:08 MarsXan

I Have the same problem! Does anyone have solutions?

damienissa avatar Aug 17 '20 07:08 damienissa

@MarsXan and @damienissa,

are you using the Example App and the latest CameraManager version (5.1.3)?

torrao avatar Aug 18 '20 09:08 torrao

I'm using the last version in my app Screen Shot 2020-08-28 at 12 14 22 AM

MarsXan avatar Aug 27 '20 19:08 MarsXan

@MarsXan and @damienissa

I'm going to take a look at this. Can you share your CameraManager setup? It would help me replicate the issue.

torrao avatar Sep 24 '20 08:09 torrao

@torrao I was running into this also, here is a gist of my code.

https://gist.github.com/KevinGlinski/9d1da23f81619661768fd07bcb16ce84

The strange thing is that setupCameraManager sets output mode to video, but then in startRecording when we call startRecordingVideo output mode is set back to .stillImage. If I uncomment line 82 to set output mode back to video then I get the no connection error. This makes me think that something is losing/resetting state based on how the view/viewcontrollers are setup

KevinGlinski avatar Feb 16 '21 01:02 KevinGlinski

@torrao Any update on this please? It's important for me and i am getting this crash. Anyone found a solution for this?

Maulik699 avatar May 25 '23 17:05 Maulik699