We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
|-- flutter_sound 9.2.13 | |-- flutter_sound_platform_interface 9.2.13 | |-- flutter_sound_web 9.2.13 | | |-- flutter_sound_platform_interface...
I cannot record audio with bluetooth device's mic even in simple_recorder example
I opened recorder using openRecorder() then set up session configurations like below
openRecorder()
final session = await AudioSession.instance; await session.configure(AudioSessionConfiguration( avAudioSessionCategory: AVAudioSessionCategory.playAndRecord, avAudioSessionCategoryOptions: AVAudioSessionCategoryOptions.allowBluetooth | AVAudioSessionCategoryOptions.defaultToSpeaker, avAudioSessionMode: AVAudioSessionMode.spokenAudio, avAudioSessionRouteSharingPolicy: AVAudioSessionRouteSharingPolicy.defaultPolicy, avAudioSessionSetActiveOptions: AVAudioSessionSetActiveOptions.none, androidAudioAttributes: const AndroidAudioAttributes( contentType: AndroidAudioContentType.speech, flags: AndroidAudioFlags.none, usage: AndroidAudioUsage.voiceCommunication, ), androidAudioFocusGainType: AndroidAudioFocusGainType.gain, androidWillPauseWhenDucked: true, ));
But I couldn't record audio with bluetooth device in real android devices. The device output works fine.
To Reproduce Steps to reproduce the behavior:
I added in record() a little for logging.
record()
final devices = await _audioSession?.getDevices( includeOutputs: false, ); print(devices);
I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 new FlutterSoundPlayer (package:flutter_sound/public/flutter_sound_player.dart:132:13) I/flutter (14891): │ #1 new _SimpleRecorderState (package:example/simple_recorder/simple_recorder.dart:65:34) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 ctor: FlutterSoundPlayer() I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 new FlutterSoundRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:140:13) I/flutter (14891): │ #1 new _SimpleRecorderState (package:example/simple_recorder/simple_recorder.dart:66:38) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 ctor: FlutterSoundRecorder() I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer._openAudioSession (package:flutter_sound/public/flutter_sound_player.dart:511:13) I/flutter (14891): │ #1 FlutterSoundPlayer.openPlayer.<anonymous closure> (package:flutter_sound/public/flutter_sound_player.dart:504:17) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:---> openAudioSession I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer._openAudioSession (package:flutter_sound/public/flutter_sound_player.dart:524:15) I/flutter (14891): │ #1 FlutterSoundPlayer.openPlayer.<anonymous closure> (package:flutter_sound/public/flutter_sound_player.dart:504:17) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 Resetting flutter_sound Player Plugin I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/ViewRootImpl@278f7b9[MainActivity](14891): MSG_WINDOW_FOCUS_CHANGED 0 1 I/SurfaceControl(14891): nativeRelease nativeObject s[507216908128] I/SurfaceControl(14891): nativeRelease nativeObject e[507216908128] I/SurfaceControl(14891): nativeRelease nativeObject s[507216908032] I/SurfaceControl(14891): nativeRelease nativeObject e[507216908032] I/SurfaceControl(14891): nativeRelease nativeObject s[507216907936] I/SurfaceControl(14891): nativeRelease nativeObject e[507216907936] I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer.openPlayerCompleted (package:flutter_sound/public/flutter_sound_player.dart:194:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:96:19) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 ---> openPlayerCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer.openPlayerCompleted (package:flutter_sound/public/flutter_sound_player.dart:209:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:96:19) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 <--- openPlayerCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer._openAudioSession (package:flutter_sound/public/flutter_sound_player.dart:542:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:<--- openAudioSession I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/ViewRootImpl@278f7b9[MainActivity](14891): stopped(false) old=false I/SurfaceControl(14891): nativeRelease nativeObject s[511940483008] I/SurfaceControl(14891): nativeRelease nativeObject e[511940483008] I/SurfaceControl(14891): assignNativeObject: nativeObject = 0 Surface(name=null)/@0x5428474 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder.openRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:372:13) I/flutter (14891): │ #1 _SimpleRecorderState.openTheRecorder (package:example/simple_recorder/simple_recorder.dart:105:23) I/SurfaceControl(14891): nativeRelease nativeObject s[511938443008] I/SurfaceControl(14891): nativeRelease nativeObject e[511938443008] I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:---> openAudioSession I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder._openAudioSession (package:flutter_sound/public/flutter_sound_recorder.dart:381:13) I/flutter (14891): │ #1 FlutterSoundRecorder.openRecorder.<anonymous closure> (package:flutter_sound/public/flutter_sound_recorder.dart:374:17) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 ---> openAudioSession I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/ViewRootImpl@278f7b9[MainActivity](14891): Relayout returned: old=(0,0,720,1560) new=(0,0,720,1560) req=(720,1560)0 dur=15 res=0x1 s={true 509245071360} ch=false fn=33 I/ViewRootImpl@278f7b9[MainActivity](14891): updateBoundsLayer: shouldReparent = false t = android.view.SurfaceControl$Transaction@759def8 sc = Surface(name=Bounds for - com.dooboolab.example/com.dooboolab.example.MainActivity@0)/@0xf03afd1 frame = 33 I/SurfaceControl(14891): nativeRelease nativeObject s[511940483008] I/SurfaceControl(14891): nativeRelease nativeObject e[511940483008] I/SurfaceControl(14891): nativeRelease nativeObject s[507216908128] I/SurfaceControl(14891): nativeRelease nativeObject e[507216908128] I/SurfaceControl(14891): nativeRelease nativeObject s[507216908032] I/SurfaceControl(14891): nativeRelease nativeObject e[507216908032] I/ViewRootImpl@278f7b9[MainActivity](14891): MSG_WINDOW_FOCUS_CHANGED 1 1 D/InputMethodManager(14891): prepareNavigationBarInfo() DecorView@89f4cbd[MainActivity] D/InputMethodManager(14891): getNavigationBarColor() -855310 D/InputMethodManager(14891): prepareNavigationBarInfo() DecorView@89f4cbd[MainActivity] D/InputMethodManager(14891): getNavigationBarColor() -855310 V/InputMethodManager(14891): Starting input: tba=com.dooboolab.example ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager(14891): startInputInner - Id : 0 I/InputMethodManager(14891): startInputInner - mService.startInputOrWindowGainedFocus I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder._openAudioSession (package:flutter_sound/public/flutter_sound_recorder.dart:396:17) I/flutter (14891): │ #1 FlutterSoundRecorder.openRecorder.<anonymous closure> (package:flutter_sound/public/flutter_sound_recorder.dart:374:17) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 Resetting flutter_sound Recorder Plugin I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── D/InputTransport(14891): Input channel constructed: 'ClientS', fd=106 D/InputTransport(14891): Input channel destroyed: 'ClientS', fd=102 I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder.openRecorderCompleted (package:flutter_sound/public/flutter_sound_recorder.dart:171:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundRecorder.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_recorder.dart:98:22) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 ---> openRecorderCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder.openRecorderCompleted (package:flutter_sound/public/flutter_sound_recorder.dart:182:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundRecorder.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_recorder.dart:98:22) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 <--- openRecorderCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder._openAudioSession (package:flutter_sound/public/flutter_sound_recorder.dart:412:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 <--- openAudioSession I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder.openRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:376:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:<--- openAudioSession I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/ViewRootImpl@278f7b9[MainActivity](14891): ViewPostIme pointer 0 I/ViewRootImpl@278f7b9[MainActivity](14891): ViewPostIme pointer 1 I/flutter (14891): {AudioDevice(id:1492,name:Jabra Elite 85t,isInput:true,isOutput:false,type:AudioDeviceType.bluetoothSco), AudioDevice(id:8,name:SM-A205S,isInput:true,isOutput:false,type:AudioDeviceType.builtInMic), AudioDevice(id:9,name:SM-A205S,isInput:true,isOutput:false,type:AudioDeviceType.builtInMic), AudioDevice(id:11,name:SM-A205S,isInput:true,isOutput:false,type:AudioDeviceType.telephony), AudioDevice(id:15,name:SM-A205S,isInput:true,isOutput:false,type:AudioDeviceType.remoteSubmix)} I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder.startRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:590:13) I/flutter (14891): │ #1 _SimpleRecorderState.record (package:example/simple_recorder/simple_recorder.dart:145:23) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:---> startRecorder I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder._startRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:614:13) I/flutter (14891): │ #1 FlutterSoundRecorder.startRecorder.<anonymous closure> (package:flutter_sound/public/flutter_sound_recorder.dart:592:13) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:---> _startRecorder. I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── D/MediaRecorder(14891): Constructor MediaRecorder I/MediaRecorderJNI(14891): setup I/MediaRecorderJNI(14891): native_reset I/MediaRecorderJNI(14891): setAudioSource(1) I/MediaRecorderJNI(14891): setAudioEncoder(3) I/MediaRecorderJNI(14891): setParameter() I/MediaRecorderJNI(14891): setParameter() I/MediaRecorderJNI(14891): setParameter() I/MediaRecorderJNI(14891): setOutputFile I/MediaRecorderJNI(14891): prepare I/MediaRecorderJNI(14891): start I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder.startRecorderCompleted (package:flutter_sound/public/flutter_sound_recorder.dart:234:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundRecorder.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_recorder.dart:74:22) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 ---> startRecorderCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder.startRecorderCompleted (package:flutter_sound/public/flutter_sound_recorder.dart:243:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundRecorder.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_recorder.dart:74:22) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 <--- startRecorderCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder._startRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:689:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:<--- _startRecorder. I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder.startRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:602:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:<--- startRecorder I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/ViewRootImpl@278f7b9[MainActivity](14891): ViewPostIme pointer 0 I/ViewRootImpl@278f7b9[MainActivity](14891): ViewPostIme pointer 1 I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder.stopRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:726:13) I/flutter (14891): │ #1 _SimpleRecorderState.stopRecorder (package:example/simple_recorder/simple_recorder.dart:154:23) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:---> stopRecorder I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder._stopRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:736:13) I/flutter (14891): │ #1 FlutterSoundRecorder.stopRecorder.<anonymous closure> (package:flutter_sound/public/flutter_sound_recorder.dart:729:17) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:---> _stopRecorder I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder._stop (package:flutter_sound/public/flutter_sound_recorder.dart:694:13) I/flutter (14891): │ #1 FlutterSoundRecorder._stopRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:748:17) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:---> _stop I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/MediaRecorderJNI(14891): resume I/MediaRecorderJNI(14891): stop I/MediaRecorderJNI(14891): native_reset I/MediaRecorderJNI(14891): release I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder.stopRecorderCompleted (package:flutter_sound/public/flutter_sound_recorder.dart:250:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundRecorder.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_recorder.dart:80:22) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 ---> stopRecorderCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder.stopRecorderCompleted (package:flutter_sound/public/flutter_sound_recorder.dart:262:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundRecorder.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_recorder.dart:80:22) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 <---- stopRecorderCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder._stop (package:flutter_sound/public/flutter_sound_recorder.dart:707:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:<--- _stop I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder._stopRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:752:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:<--- _stopRecorder : /data/user/0/com.dooboolab.example/cache/tau_file.mp4 I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundRecorder.stopRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:731:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:<--- stopRecorder I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/ViewRootImpl@278f7b9[MainActivity](14891): ViewPostIme pointer 0 I/ViewRootImpl@278f7b9[MainActivity](14891): ViewPostIme pointer 1 I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer._startPlayer (package:flutter_sound/public/flutter_sound_player.dart:779:13) I/flutter (14891): │ #1 FlutterSoundPlayer.startPlayer.<anonymous closure> (package:flutter_sound/public/flutter_sound_player.dart:759:17) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:---> startPlayer I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer._stop (package:flutter_sound/public/flutter_sound_player.dart:1099:13) I/flutter (14891): │ #1 FlutterSoundPlayer._startPlayer (package:flutter_sound/public/flutter_sound_player.dart:806:11) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:---> _stop I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer.stopPlayerCompleted (package:flutter_sound/public/flutter_sound_player.dart:296:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:113:19) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 ---> stopPlayerCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer.stopPlayerCompleted (package:flutter_sound/public/flutter_sound_player.dart:311:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:113:19) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 <--- stopPlayerCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer._stop (package:flutter_sound/public/flutter_sound_player.dart:1126:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:<--- _stop I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── V/MediaPlayer-JNI(14891): native_setup V/MediaPlayerNative(14891): constructor V/MediaPlayerNative(14891): setListener V/MediaPlayer-JNI(14891): setDataSourceFD: fd 100 V/MediaPlayerNative(14891): setDataSource(100, 0, 576460752303423487) V/MediaPlayerNative(14891): setVideoSurfaceTexture V/MediaPlayerNative(14891): prepare V/MediaPlayerNative(14891): message received msg=200, ext1=10973, ext2=0 W/MediaPlayerNative(14891): info/warning (10973, 0) V/MediaPlayerNative(14891): message received msg=1, ext1=0, ext2=0 V/MediaPlayerNative(14891): MediaPlayer::notify() prepared V/MediaPlayerNative(14891): signal application thread V/MediaPlayerNative(14891): prepare complete - status=0 V/MediaPlayerNative(14891): invoke 76 V/MediaPlayer-JNI(14891): start V/MediaPlayerNative(14891): start V/MediaPlayerNative(14891): invoke 76 V/MediaPlayer-JNI(14891): start V/MediaPlayerNative(14891): start V/MediaPlayerNative(14891): getDuration_l V/MediaPlayer-JNI(14891): getDuration: 3200 (msec) I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer._startPlayer (package:flutter_sound/public/flutter_sound_player.dart:831:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:<--- startPlayer I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:360:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:137:19) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 mediaPlayer prepared and started I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer.startPlayerCompleted (package:flutter_sound/public/flutter_sound_player.dart:277:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:106:19) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 ---> startPlayerCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer.startPlayerCompleted (package:flutter_sound/public/flutter_sound_player.dart:289:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:106:19) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 <--- startPlayerCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── V/MediaPlayerNative(14891): message received msg=6, ext1=0, ext2=0 V/MediaPlayer-JNI(14891): getCurrentPosition: 0 (msec) V/MediaPlayerNative(14891): message received msg=211, ext1=0, ext2=0 V/MediaPlayerNative(14891): message received msg=211, ext1=0, ext2=0 V/MediaPlayerNative(14891): message received msg=2, ext1=0, ext2=0 V/MediaPlayerNative(14891): playback complete V/MediaPlayerNative(14891): message received msg=211, ext1=0, ext2=0 V/MediaPlayer-JNI(14891): stop V/MediaPlayerNative(14891): stop I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer.log (package:flutter_sound/public/flutter_sound_player.dart:360:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:137:19) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 Playback completed. V/MediaPlayerNative(14891): message received msg=8, ext1=0, ext2=0 I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── V/MediaPlayer-JNI(14891): reset V/MediaPlayerNative(14891): reset V/MediaPlayer(14891): resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false V/MediaPlayer(14891): cleanDrmObj: mDrmObj=null mDrmSessionId=null V/MediaPlayer(14891): resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false V/MediaPlayer(14891): cleanDrmObj: mDrmObj=null mDrmSessionId=null V/MediaPlayer-JNI(14891): release V/MediaPlayerNative(14891): setListener V/MediaPlayerNative(14891): disconnect V/MediaPlayerNative(14891): destructor V/MediaPlayerNative(14891): disconnect I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer.audioPlayerFinished (package:flutter_sound/public/flutter_sound_player.dart:176:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:82:19) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:---> audioPlayerFinished I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer._stopPlayer (package:flutter_sound/public/flutter_sound_player.dart:1080:13) I/flutter (14891): │ #1 FlutterSoundPlayer.stopPlayer.<anonymous closure> (package:flutter_sound/public/flutter_sound_player.dart:1075:13) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:---> _stopPlayer I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer._stop (package:flutter_sound/public/flutter_sound_player.dart:1099:13) I/flutter (14891): │ #1 FlutterSoundPlayer._stopPlayer (package:flutter_sound/public/flutter_sound_player.dart:1091:13) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:---> _stop I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer.stopPlayerCompleted (package:flutter_sound/public/flutter_sound_player.dart:296:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:113:19) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 ---> stopPlayerCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer.stopPlayerCompleted (package:flutter_sound/public/flutter_sound_player.dart:311:13) I/flutter (14891): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:113:19) I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 <--- stopPlayerCompleted: true I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer._stop (package:flutter_sound/public/flutter_sound_player.dart:1126:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:<--- _stop I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer._stopPlayer (package:flutter_sound/public/flutter_sound_player.dart:1095:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:<--- stopPlayer I/flutter (14891): └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (14891): │ #0 FlutterSoundPlayer.audioPlayerFinished (package:flutter_sound/public/flutter_sound_player.dart:187:13) I/flutter (14891): │ #1 <asynchronous suspension> I/flutter (14891): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14891): │ 🐛 FS:<--- audioPlayerFinished I/flutter (14891): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
The text was updated successfully, but these errors were encountered:
I tested on IOS that is ok but Android phone is same your problem.. and my phone is Samsung Galaxy 21 android 13.
Sorry, something went wrong.
Same here, Does work with Bluetooth mic. I'm using galaxy buds plus on pixel 5 android 13. Any updates on how to make it work with bluetooth?
Any news on this?
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.
Hi, I got the same issue. Has anyone solved the problem?
No branches or pull requests
Flutter Sound Version :
Severity
I cannot record audio with bluetooth device's mic even in simple_recorder example
Platforms you faced the error
Describe the bug
I opened recorder using
openRecorder()
then set up session configurations like belowBut I couldn't record audio with bluetooth device in real android devices.
The device output works fine.
To Reproduce
Steps to reproduce the behavior:
Logs
I added in
record()
a little for logging.The text was updated successfully, but these errors were encountered: