Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Migrate to Android embedding v2 + Support AAC codec#52

Open
hnvn wants to merge 11 commits intormbrone:masterfrom
hnvn:master
Open

Migrate to Android embedding v2 + Support AAC codec#52
hnvn wants to merge 11 commits intormbrone:masterfrom
hnvn:master

Conversation

@hnvn
Copy link
Copy Markdown

@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
Copy Markdown

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
Copy Markdown

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants