Taracque / ionic-plugin-callkit

Ionic/Cordova plugin for CallKit
36 stars 20 forks source link

onVideoError: NSConcreteNotification #18

Open ghost opened 7 years ago

ghost commented 7 years ago

Thanks for this great plugin. I'm using it with WebRTC to make video calls. The problem is that when receiving calls on my iPhone, I get the following error. When I get rid of CallKit the error doesn't occur. Do you know what might be causing this?

onVideoError: NSConcreteNotification 0x17464fa20 {name = AVCaptureSessionRuntimeErrorNotification; object = <AVCaptureSession: 0x17000d8a0 [AVCaptureSessionPreset640x480]>; userInfo = {
    AVCaptureSessionErrorKey = "Error Domain=AVFoundationErrorDomain Code=-11800 \"The operation could not be completed\" UserInfo={NSUnderlyingError=0x170452180 {Error Domain=NSOSStatusErrorDomain Code=-12785 \"(null)\"}, NSLocalizedFailureReason=An unknown error occurred (-12785), NSLocalizedDescription=The operation could not be completed}";
}}