flutter_audio_recorder icon indicating copy to clipboard operation
flutter_audio_recorder copied to clipboard

Migrate to Android embedding v2 + Support AAC codec

Open hnvn opened this issue 4 years ago • 2 comments

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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  • Not support AAC codec #9

Working status:

  • [x] Migrate to Android embedding v2
  • [x] Support AAC codec

hnvn avatar Nov 08 '20 11:11 hnvn

@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 !

ThuyenPVT avatar May 26 '21 07:05 ThuyenPVT

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

aliasgarlabs avatar Sep 15 '21 12:09 aliasgarlabs