You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVCaptureDevice setTorchMode:] The passed torchMode 2 is not supported - use -isTorchModeSupported: to discover valid torch modes'
*** First throw call stack:
(0x1a81cd86c 0x1bd1e8c50 0x1c253fca4 0x1011db5d0 0x1011dc41c 0x1011dc150 0x1011daf1c 0x1011d96f8 0x1a7dc1db0 0x1a7dc512c 0x1a7dd6c08 0x1a7dcf694 0x1a814911c 0x1a8143120 0x1a814221c 0x1bfd0e784 0x1aab82ee8 0x1aab8875c 0x1002e010c 0x1a7e026b0)
libc++abi.dylib: terminating with uncaught exception of type NSException
thread How to stream camera and preview Camera stream is you have any idea please tell me #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00000001d6122414 libsystem_kernel.dylib__pthread_kill + 8 libsystem_kernel.dylib__pthread_kill:
-> 0x1d6122414 <+8>: b.lo 0x1d6122434 ; <+40>
0x1d6122418 <+12>: pacibsp
0x1d612241c <+16>: stp x29, x30, [sp, #-0x10]!
0x1d6122420 <+20>: mov x29, sp
Target 0: (Runner) stopped.
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVCaptureDevice setTorchMode:] The passed torchMode 2 is not supported - use -isTorchModeSupported: to discover valid torch modes'
*** First throw call stack:
(0x1a81cd86c 0x1bd1e8c50 0x1c253fca4 0x1011db5d0 0x1011dc41c 0x1011dc150 0x1011daf1c 0x1011d96f8 0x1a7dc1db0 0x1a7dc512c 0x1a7dd6c08 0x1a7dcf694 0x1a814911c 0x1a8143120 0x1a814221c 0x1bfd0e784 0x1aab82ee8 0x1aab8875c 0x1002e010c 0x1a7e026b0)
libc++abi.dylib: terminating with uncaught exception of type NSException
frame #0: 0x00000001d6122414 libsystem_kernel.dylib
__pthread_kill + 8 libsystem_kernel.dylib__pthread_kill:-> 0x1d6122414 <+8>: b.lo 0x1d6122434 ; <+40>
0x1d6122418 <+12>: pacibsp
0x1d612241c <+16>: stp x29, x30, [sp, #-0x10]!
0x1d6122420 <+20>: mov x29, sp
Target 0: (Runner) stopped.