-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on android 8 and 9: Failed to stop the muxer #326
Comments
You can try to upgrade the package to latest. |
I tested the latest version, and the same error still occurred, but the issue was resolved using the legacy recorder. |
OK so can you send me the stack trace de-obfuscated? |
ofcourse, this is full stack trace: W/VideoCapabilities(17505): Unrecognized profile 4 for video/hevc E/AudioRecorder(17505): writeSampleData returned an error D/MPEG4Writer(17505): Audio track stopping. Stop source E/AndroidRuntime(17505): java.lang.IllegalStateException: Failed to stop the muxer I/Process (17505): Sending signal. PID: 17505 SIG: 9 |
Version 5.1.1 has been released to fix this. |
Package version
[5.0.5]
Environment
many of my users who have Android 8 or 9 have reported that the app crashes when recording audio.
based of logs of appcenter, i get this errors for android 8 and 9.
java.lang.IllegalStateException: Failed to stop the muxer
Stack traces:
android.media.MediaMuxer.nativeStop MediaMuxer.java
android.media.MediaMuxer.stop MediaMuxer.java:454
m6.d.b
o6.c.g
o6.c.onOutputBufferAvailable
android.media.MediaCodec$EventHandler.handleCallback MediaCodec.java:1699
android.media.MediaCodec$EventHandler.handleMessage MediaCodec.java:1646
android.os.Handler.dispatchMessage Handler.java:106
android.os.Looper.loop Looper.java:201
android.app.ActivityThread.main ActivityThread.java:6831
java.lang.reflect.Method.invoke Method.java
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run RuntimeInit.java:547
com.android.internal.os.ZygoteInit.main ZygoteInit.java:927
The text was updated successfully, but these errors were encountered: