{"action":"opened","issue":{"url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/126","labels_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/126/comments","events_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/126/events","html_url":"https://github.com/lwansbrough/react-native-camera/issues/126","id":117852958,"number":126,"title":"Microphone Access Denied causes freeze-up (even with `captureAudio:false`)","user":{"login":"rpastorelle","id":746320,"avatar_url":"https://avatars.githubusercontent.com/u/746320?v=3","gravatar_id":"","url":"https://api.github.com/users/rpastorelle","html_url":"https://github.com/rpastorelle","followers_url":"https://api.github.com/users/rpastorelle/followers","following_url":"https://api.github.com/users/rpastorelle/following{/other_user}","gists_url":"https://api.github.com/users/rpastorelle/gists{/gist_id}","starred_url":"https://api.github.com/users/rpastorelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpastorelle/subscriptions","organizations_url":"https://api.github.com/users/rpastorelle/orgs","repos_url":"https://api.github.com/users/rpastorelle/repos","events_url":"https://api.github.com/users/rpastorelle/events{/privacy}","received_events_url":"https://api.github.com/users/rpastorelle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T16:36:53Z","updated_at":"2015-11-19T16:36:53Z","closed_at":null,"body":"In video mode, if the user has denied microphone access the following is thrown when starting to record video:\r\n\r\n```\r\n2015-11-19 11:33:08.276 MyApp[11884:5118441] Error Domain=AVFoundationErrorDomain Code=-11852 \"Cannot use iPhone Microphone\" UserInfo={NSLocalizedDescription=Cannot use iPhone Microphone, NSLocalizedFailureReason=This app is not authorized to use iPhone Microphone., AVErrorDeviceKey=<AVCaptureFigAudioDevice: 0x146909e00 [iPhone Microphone][com.apple.avfoundation.avcapturedevice.built-in_audio:0]>}\r\n```\r\n\r\nOnce recording stops, the following is reported:\r\n\r\n```\r\n2015-11-19 11:33:14.262 MyApp[11884:5118439] *** Terminating app due to uncaught exception 'NSGenericException', reason: '*** AVCaptureSession can't stopRunning between calls to beginConfiguration / commitConfiguration'\r\n*** First throw call stack:\r\n(0x183a14f48 0x1985c7f80 0x181f5ddd4 0x1001ac7d8 0x100965ca8 0x100965c68 0x100972780 0x100969958 0x100965c68 0x100974ec8 0x100974590 0x198ff9470 0x198ff9020)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\n```\r\n\r\nThe error is throw [here](https://github.com/lwansbrough/react-native-camera/blob/v0.3.7/ios/RCTCameraManager.m#L288). I'm on version 0.3.8"}}