Android:
When I press the stop button in snackbar I receive Error null.
in the console I have error:
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): Failed to handle method call
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): kotlin.KotlinNullPointerException
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at com.whelksoft.camera_with_rtmp.Camera.stopVideoRecordingOrStreaming(Camera.kt:337)
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at com.whelksoft.camera_with_rtmp.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.kt:96)
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:230)
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at android.os.MessageQueue.next(MessageQueue.java:336)
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at android.os.Looper.loop(Looper.java:197)
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at android.app.ActivityThread.main(ActivityThread.java:8019)
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
For iOS
Also, I can't record video. Application on iPhone crashes and closes
@pinkfish Can You check the ability to store video locally?
I copy/past example and try to record video.
Android: When I press the stop button in snackbar I receive Error null. in the console I have error: E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): Failed to handle method call E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): kotlin.KotlinNullPointerException E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at com.whelksoft.camera_with_rtmp.Camera.stopVideoRecordingOrStreaming(Camera.kt:337) E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at com.whelksoft.camera_with_rtmp.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.kt:96) E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:230) E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692) E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at android.os.MessageQueue.next(MessageQueue.java:336) E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at android.os.Looper.loop(Looper.java:197) E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at android.app.ActivityThread.main(ActivityThread.java:8019) E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at java.lang.reflect.Method.invoke(Native Method) E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) E/MethodChannel#plugins.flutter.io/camera_with_rtmp( 9800): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
For iOS Also, I can't record video. Application on iPhone crashes and closes
@pinkfish Can You check the ability to store video locally?