iOS Question LLCamera - Example not working

Alexander Stolte

Expert
Licensed User
Longtime User
Hey,

i just downloaded the example from the LLCamera, added the "NSCameraUsageDescription" to the header and this error still occurs:
B4X:
Application_Start
Error occurred on line: 52 (Main)
Error opening camera: Error Domain=AVFoundationErrorDomain Code=-11814 "Cannot Record" UserInfo={NSLocalizedDescription=Cannot Record, NSLocalizedRecoverySuggestion=Try recording again.}
Stack Trace: (
  CoreFoundation       __exceptionPreprocess + 350
  libobjc.A.dylib      objc_exception_throw + 48
  CoreFoundation       +[NSException raise:format:] + 188
  B4i Example          -[B4ILLCamera Initialize::::] + 735
  B4i Example          -[b4i_main _initializecamera:] + 682
  B4i Example          -[b4i_main _application_start:] + 1145
  CoreFoundation       __invoking___ + 140
  CoreFoundation       -[NSInvocation invoke] + 321
  B4i Example          +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1669
  B4i Example          -[B4IShell runMethod:] + 401
 B4i Example          -[B4IShell raiseEventImpl:method:args::] + 2361
 B4i Example          -[B4IShellBI raiseEvent:event:params:] + 1357
 B4i Example          __33-[B4I raiseUIEvent:event:params:]_block_invoke + 51
 libdispatch.dylib    _dispatch_call_block_and_release + 12
 libdispatch.dylib    _dispatch_client_callout + 8
 libdispatch.dylib    _dispatch_main_queue_callback_4CF + 1042
 CoreFoundation       __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
 CoreFoundation       __CFRunLoopRun + 2041
 CoreFoundation       CFRunLoopRunSpecific + 404
 GraphicsServices     GSEventRunModal + 139
 UIKitCore            UIApplicationMain + 1605
 B4i Example          main + 112
 libdyld.dylib        start + 1
 ???                  0x0 + 1
)
Application_Active
 

Attachments

  • LLCamera.zip
    3.9 KB · Views: 187
Top