Closed thepraveshsinghh closed 3 months ago
@thepraveshsinghh Thanks for the bug report, this sounds like it may be an issue with AudioSwitch, and particular, the lag the device has when switching from/to SCO. We are currently investigating this.
@afalls-twilio @ocarevs Do we have any update on this?
@thepraveshsinghh we are still investigating.. we will report here when we have something to share
@thepraveshsinghh We've updated the conection_service app flavour in quickstart in the mentioned PR. AudioSwitch was conflicting with audio focus management and routing when using ConnectionService and thus we removed it.
In my calling app I've been using AudioSwitch for quite sometime. Now I've implemented ConnectionService in the same way described in the quickstart project. However I'm facing audio leaking issue from speaker when a call is disconnected.
Description
When I'm listening songs on my bluetooth earphones and receive an incoming call, as soon as I disconnect the call the song is played from the speaker for a few seconds and it automatically switches back to bluetooth after those few seconds.(this is happening on my Samsung device consistently)
Steps to Reproduce
Expected Behavior
After call disconnection, song should be played via bluetooth.
Actual Behavior
After call disconnection, song is played via speaker for few seconds.
Reproduces How Often
Consistently on my Samsung SMF127G.
Versions
Android version : 11 Twilio Voice SDK version: 6.4.0 Twilio AudioSwitch version:1.1.8
Any kind of help or suggestions are appreciated. Thanks in advance.