Fix assert when missing camera permission during calls.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent 9ee25fd607
commit e8daf9a8d3

@ -227,7 +227,7 @@ class PeerConnectionClient: NSObject, RTCPeerConnectionDelegate, RTCDataChannelD
return return
} }
guard let videoCaptureSession = self.videoCaptureSession else { guard let videoCaptureSession = self.videoCaptureSession else {
owsFail("\(self.TAG) videoCaptureSession was unexpectedly nil") Logger.debug("\(self.TAG) videoCaptureSession was unexpectedly nil")
return return
} }

Loading…
Cancel
Save