Canardoux / flutter_sound

Flutter plugin for sound. Audio recorder and player.
Mozilla Public License 2.0
878 stars 574 forks source link

[HELP]: #1125

Open chenjun1127 opened 1 week ago

chenjun1127 commented 1 week ago

Perhaps it is not the good place to request for help, here ?

Perhaps you could consider using one of the sharing channels ?

For example the Element τ room ?


I need Help for :


Here is my question :

I/ViewRootImpl@1f58f41MainActivity: ViewPostIme pointer 1 I/flutter (20703): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (20703): │ #0 new FlutterSoundRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:140:13) I/flutter (20703): │ #1 new _RecordingScreenState (package:flutter_application_demo/audio_file/record_page.dart:20:42) I/flutter (20703): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (20703): │ 🐛 ctor: FlutterSoundRecorder() I/flutter (20703): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── W/OnBackInvokedCallback(20703): OnBackInvokedCallback is not enabled for the application. W/OnBackInvokedCallback(20703): Set 'android:enableOnBackInvokedCallback="true"' in the application manifest. I/flutter (20703): Microphone permission granted I/flutter (20703): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (20703): │ #0 FlutterSoundRecorder.openRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:357:13) I/flutter (20703): │ #1 _RecordingScreenState.openAudioSession (package:flutter_application_demo/audio_file/record_page.dart:51:23) I/flutter (20703): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (20703): │ 🐛 FS:---> openAudioSession I/flutter (20703): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (20703): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (20703): │ #0 FlutterSoundRecorder._openAudioSession (package:flutter_sound/public/flutter_sound_recorder.dart:366:13) I/flutter (20703): │ #1 FlutterSoundRecorder.openRecorder. (package:flutter_sound/public/flutter_sound_recorder.dart:359:11) I/flutter (20703): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (20703): │ 🐛 ---> openAudioSession I/flutter (20703): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

When I first entered the page, the following error occurred. How can I solve it?

flutter_sound: ^9.17.0 ffmpeg_kit_flutter: ^6.0.3 audio_session: ^0.1.21