Music not playing through Bluetooth headset unless app restarted.

Issue description:

Hello,
Sometimes the music refuses to play through my bluetooth headphones. I may hear the song for 0.5s through the headphones and then it fails back to the phone speaker.

If I attempt to manually change the playback device through Symfonium notification by selecting my headphones, all I end up with is the spinning icon.

The headphones are connected correctly to the phone because all other apps play through the headphones just fine when this happens.

What usually helps is Force-Stopping the app and restarting it. Upon restart, the music plays through the headphones as expected.

I have managed to replicate this behaviour uploaded the logs through the app under ‘ProTofik’ nickname.

The phone is Google Pixel 7 and the headphones are Sony WH-1000XM4.

Logs:

Upload description: ProTofik

Additional information:

 

 

Reproduction steps:

 
This happens randomly but when it does it usually goes like this:

  1. Enable my headphones and wait for them to connect to the phone
  2. Open Symfonium app and Play some music
  3. The music will play through the phone speakers rather than through headphones. Other sounds such as whatsapp notifications play correctly through the headphones when this issue occurs.
     

Media provider:

Subsonic

Screenshots:

     

In the logs you seem to start the playback a long time before the OS tells Symfonium that the audio route is BT.

But like 1 minute before so this is probably a bug in MediaRouter or the device :frowning:

And it seems the phone continuously select the phone route while already selected something that should not happen either.

Since this is not my code, we’ll need to hope there’s a fix on Google side either in the OS or in MediaRouter.

Oh well, thanks for checking.

If this is phone’s bug I guess I will have to live with that.

Not phone as hardware, but OS as code or MediaRouter too is code from Google.

Pixels have many years of monthly updates, so if it’s there a fix will come at some point, if it’s in MediaRouter they update the code too.

So in theory it will be fixed at some point.