flutter_tts icon indicating copy to clipboard operation
flutter_tts copied to clipboard

Error when working with audioPlays package

Open luomo-pro opened this issue 2 years ago • 2 comments

On the iOS platform,When I use tts to read a text aloud while using the audioPlays package to play a short sound effect, I get the following error message: "Error configuring audio session: Error Domain=NSOSStatusErrorDomain Code=560030580 "(null)"" [AXTTSCommon] _BeginSpeaking: couldn't begin playback

it will terminate the speech of tts. If I don't call audioPlays to play the sound effects, then tts can read the text aloud normally. I don't know if this error is caused by flutter_tts or audioPlays, can there be a solution? This is the audioPlays package: https://pub.dev/packages/audioplayers

luomo-pro avatar Mar 26 '22 10:03 luomo-pro

@luomo-pro that's a tough one to troubleshoot, but I'll see what I can find out.

dlutton avatar Mar 30 '22 16:03 dlutton

Hello :) Am having the same kind of problem. When I use TTS, my sound effects with AUDIOPLAYERS will only play once. It doesn't terminate TTS, but Audioplayers doesn't seem to work anymore.

sylvainjack avatar Jul 06 '22 04:07 sylvainjack