Skip to content
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

Migrate to Android embedding v2 + Support AAC codec #52

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

hnvn
Copy link

@hnvn hnvn commented Nov 8, 2020

This pull request will address two issues of Android implementation:

  • Warning about old Android embedding implementation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
──────────────────────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It's being deprecated in favor of Android embedding v2. Follow the
steps at

https://flutter.dev/go/android-project-migration

to migrate your project.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Working status:

  • Migrate to Android embedding v2
  • Support AAC codec

@hnvn hnvn changed the title [WIP] Migrate to Android embedding v2 + Support AAC codec Migrate to Android embedding v2 + Support AAC codec Nov 13, 2020
ibedek pushed a commit to ibedek/flutter_audio_recorder that referenced this pull request Mar 15, 2021
@ThuyenPVT
Copy link

ThuyenPVT commented May 26, 2021

@hnvn I got the error message when recording the audio after that stopped the audio . It's make my app crash :'(

Details :
I/OMXClient(20139): IOmx service obtained
W/ExtendedACodec(20139): Failed to get extension for extradata parameter
E/AndroidRuntime(20139): FATAL EXCEPTION: Audio Processing Thread
E/AndroidRuntime(20139): Process: com.ccc.jobchat.stg, PID: 20139
E/AndroidRuntime(20139): java.lang.IllegalStateException
E/AndroidRuntime(20139): at android.media.MediaCodec.native_dequeueInputBuffer(Native Method)
E/AndroidRuntime(20139): at android.media.MediaCodec.dequeueInputBuffer(MediaCodec.java:2726)
E/AndroidRuntime(20139): at com.zeno.flutter_audio_recorder.AACRecordThread.handleCodecInput(AACRecordThread.java:187)
E/AndroidRuntime(20139): at com.zeno.flutter_audio_recorder.AACRecordThread.run(AACRecordThread.java:147)
E/AndroidRuntime(20139): at java.lang.Thread.run(Thread.java:919)

Please help me check it again ! Thank you so much !

@aliasgarlabs
Copy link

Hey guys, is there any update on the v2 embedding support?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants