react-native-twilio-video-webrtc
react-native-twilio-video-webrtc copied to clipboard
Fatal Exception NSInvalidArgumentException "The requested device is not an AVCaptureDevice"
Crashlytics - Stack trace Application: xxxxxxxxxx Platform: apple Version: 5.9.4 (2177) Issue: 6f0e3cca6ac327813a9d918592c0daf9 Session: 3f290f8cd81a474fa51705db9eecc50d_DNE_0_v2 Date: Mon Dec 16 2024 09:54:41 GMT+0100 (heure normale d’Europe centrale)
Fatal Exception: NSInvalidArgumentException 0 CoreFoundation 0x9e88 __exceptionPreprocess 1 libobjc.A.dylib 0x178d8 objc_exception_throw 2 CoreFoundation 0x176794 -[NSException init] 3 TwilioVideo 0x3752c (Manquant UUID 4c0f09bbd3c63549b2fae27fe4252224) 4 TwilioVideo 0x36314 (Manquant UUID 4c0f09bbd3c63549b2fae27fe4252224) 5 xxxxxxxxxx 0xbe8ca0 -[RCTTWVideoModule startCameraCapture:] + 190 (RCTTWVideoModule.m:190) 6 xxxxxxxxxx 0xbe9220 -[RCTTWVideoModule setLocalVideoEnabled:cameraType:] + 256 (RCTTWVideoModule.m:256) 7 xxxxxxxxxx 0xbea61c -[RCTTWVideoModule connect:roomName:enableAudio:enableVideo:encodingParameters:enableNetworkQualityReporting:dominantSpeakerEnabled:cameraType:] + 426 (RCTTWVideoModule.m:426) 8 CoreFoundation 0x74704 invoking 9 CoreFoundation 0x20b6c -[NSInvocation invoke] 10 CoreFoundation 0x20584 -[NSInvocation invokeWithTarget:] 11 xxxxxxxxxx 0x408358 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 587 (RCTModuleMethod.mm:587) 12 xxxxxxxxxx 0x40a4c8 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 196 (RCTNativeModule.mm:196) 13 xxxxxxxxxx 0x40a11c invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 298 (optional:298) 14 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release 15 libdispatch.dylib 0x3fdc _dispatch_client_callout 16 libdispatch.dylib 0x127f4 _dispatch_main_queue_drain 17 libdispatch.dylib 0x12444 _dispatch_main_queue_callback_4CF 18 CoreFoundation 0x9a6f8 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE 19 CoreFoundation 0x7c058 __CFRunLoopRun 20 CoreFoundation 0x80ed4 CFRunLoopRunSpecific 21 GraphicsServices 0x1368 GSEventRunModal 22 UIKitCore 0x3a23d0 -[UIApplication _run] 23 UIKitCore 0x3a2034 UIApplicationMain 24 xxxxxxxxxx 0x82f8 main + 8 (main.m:8) 25 ??? 0x1d94a4960 (Manquant)
Crashed: com.google.firebase.crashlytics.ios.exception 0 xxxxxxxxxx 0x1533fc FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392) 1 xxxxxxxxxx 0x1537e0 FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423) 2 xxxxxxxxxx 0x14b4a8 FIRCLSHandler + 34 (FIRCLSHandler.m:34) 3 xxxxxxxxxx 0x146354 __FIRCLSExceptionRecord_block_invoke + 240 (FIRCLSException.mm:240) 4 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20 5 libdispatch.dylib 0x13574 _dispatch_lane_barrier_sync_invoke_and_complete + 56 6 xxxxxxxxxx 0x1452ec FIRCLSExceptionRecord + 242 (FIRCLSException.mm:242) 7 xxxxxxxxxx 0x145e0c FIRCLSExceptionRecordNSException + 126 (FIRCLSException.mm:126) 8 xxxxxxxxxx 0x144ef4 FIRCLSTerminateHandler() + 407 (FIRCLSException.mm:407) 9 libc++abi.dylib 0x10f28 std::__terminate(void (*)()) + 20 10 libc++abi.dylib 0x10ec4 std::terminate() + 56 11 libobjc.A.dylib 0x33bec objc_terminate + 16 12 libdispatch.dylib 0x3ff0 _dispatch_client_callout + 40 13 libdispatch.dylib 0x127f4 _dispatch_main_queue_drain + 928 14 libdispatch.dylib 0x12444 _dispatch_main_queue_callback_4CF + 44 15 CoreFoundation 0x9a6f8 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 16 CoreFoundation 0x7c058 __CFRunLoopRun + 2036 17 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 18 GraphicsServices 0x1368 GSEventRunModal + 164 19 UIKitCore 0x3a23d0 -[UIApplication _run] + 888 20 UIKitCore 0x3a2034 UIApplicationMain + 340 21 xxxxxxxxxx 0x82f8 main + 8 (main.m:8) 22 ??? 0x1d94a4960 (Manquant)
Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8
Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8
com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 CoreFoundation 0x7aaf0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd34 __CFRunLoopRun + 1232 6 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 7 Foundation 0x42334 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 8 Foundation 0x4221c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 9 UIKitCore 0x4d733c -[UIEventFetcher threadMain] + 436 10 Foundation 0x5b808 NSThread__start + 716 11 libsystem_pthread.dylib 0x16cc _pthread_start + 148 12 libsystem_pthread.dylib 0xba4 thread_start + 8
Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8
Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8
Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8
Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8
com.google.firebase.crashlytics.MachExceptionServer 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 xxxxxxxxxx 0x14dbd0 FIRCLSMachExceptionServer + 196 (FIRCLSMachException.c:196) 5 libsystem_pthread.dylib 0x16cc _pthread_start + 148 6 libsystem_pthread.dylib 0xba4 thread_start + 8
Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8
com.facebook.react.JavaScript 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 CoreFoundation 0x7aaf0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd34 __CFRunLoopRun + 1232 6 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 7 xxxxxxxxxx 0x3e9f98 +[RCTCxxBridge runRunLoop] + 328 (RCTCxxBridge.mm:328) 8 Foundation 0x5b808 NSThread__start + 716 9 libsystem_pthread.dylib 0x16cc _pthread_start + 148 10 libsystem_pthread.dylib 0xba4 thread_start + 8
hades 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 libc++.1.dylib 0xcacc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28 3 hermes 0xccf24 hermes::vm::HadesGC::Executor::worker() + 116 4 hermes 0xcce8c void* std::__1::__thread_proxy[abi:v160006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, hermes::vm::HadesGC::Executor::Executor()::'lambda'()> >(void*) + 44 5 libsystem_pthread.dylib 0x16cc _pthread_start + 148 6 libsystem_pthread.dylib 0xba4 thread_start + 8
com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 CoreFoundation 0x7aaf0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd34 __CFRunLoopRun + 1232 6 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 7 CFNetwork 0x2565a8 _CFURLStorageSessionDisableCache + 61088 8 Foundation 0x5b808 NSThread__start + 716 9 libsystem_pthread.dylib 0x16cc _pthread_start + 148 10 libsystem_pthread.dylib 0xba4 thread_start + 8
MediaFactoryImpl::signaling 0x0x2816f9110
0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232
2 TwilioVideo 0x4ddd38 rtc::Event::Wait(int, int)::$_0::operator()(absl::optional
MediaFactoryImpl::worker 0x0x2816f9110
0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232
2 TwilioVideo 0x4ddd38 rtc::Event::Wait(int, int)::$_0::operator()(absl::optional
MediaFactoryImpl::networking 0x0x2816f9110 0 libsystem_kernel.dylib 0x16ac __select + 8 1 libsystem_kernel.dylib 0x16ac select$DARWIN_EXTSN + 8 2 TwilioVideo 0x4ade54 rtc::PhysicalSocketServer::WaitSelect(int, bool) + 568 3 TwilioVideo 0x4adc10 rtc::PhysicalSocketServer::Wait(int, bool) + 24 4 TwilioVideo 0x4b5210 rtc::Thread::Get(rtc::Message*, int, bool) + 556 5 TwilioVideo 0x4b4768 rtc::Thread::ProcessMessages(int) + 148 6 TwilioVideo 0x4b5bbc rtc::Thread::PreRun(void*) + 60 7 libsystem_pthread.dylib 0x16cc _pthread_start + 148 8 libsystem_pthread.dylib 0xba4 thread_start + 8### Steps to reproduce 1. 2. 3.
Environment
- Node.js version: 20.9.0
- React Native version: 0.75.3
- React Native platform + platform version: iOS 16.1.1, iOS 16.7.10, iOS 17.2.1, etc...
react-native-twilio-video-webrtc
Version: 3.2.1