-
Notifications
You must be signed in to change notification settings - Fork 26
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
Android 12 Issue - MediaRecorder "prepare failed" #58
Comments
Maybe it's just because of the video resolution you set. |
hello, have you solved this problem? |
I'm having the same issue with Android 12. It works with Android 13 and Android 11 so it is not the parameter setting issues. |
Does anyone know if this issue is only with Android 12 on emulator? What about on Android 12 real device? It might have something to do with permissions. |
Hi, you should have handled with permissions before using recorder. I've had this problem on an Android 12 real device where I set odd number of resolution. See my comment here for more info : Cap-go/capacitor-screen-recorder#3 (comment) |
Hi, Thanks for confirming that it works on Android 12 real device. Yes, I do have all the permission granted at begining of my app. I tested on Android 10 and 13 real devices and they work as expected.
On Tuesday, August 22, 2023 at 11:10:00 PM EDT, Kolyneh ***@***.***> wrote:
Hi, you should have handled with permissions before using recorder.
I've had this problem on an Android 12 real device where I set odd number of resolution.
Switching to even number of resolution solved it.
See my comment here for more info : Cap-go/capacitor-screen-recorder#3 (comment)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Bug
MediaRecorder crashes in Android 12 emulator on "prepare" call.
Logs
Screenshot
The text was updated successfully, but these errors were encountered: