zapp icon indicating copy to clipboard operation
zapp copied to clipboard

stream resets when disconnecting Bluetooth device

Open chilliger opened this issue 3 years ago • 6 comments

Disconnecting my Bluetooth buds causes the stream to reset. Stream just shows black screen and you lose the position.

I would expect that it just gets paused.

chilliger avatar Nov 01 '22 21:11 chilliger

I cannot reproduce this issue on Android 13. Which device, Android version and version of Zapp are you using?

cemrich avatar Nov 03 '22 13:11 cemrich

Android 13 pixel 4a, zapp 7.0.4

I can provide logs if needed

chilliger avatar Nov 03 '22 15:11 chilliger

Yes, that would be helpful. Are you turning off your headphones or do they have connectivity issues?

cemrich avatar Nov 03 '22 15:11 cemrich

Turning them off.

chilliger avatar Nov 03 '22 15:11 chilliger

reproduced and filtered by keyword "zapp". Is this enough? logcat_11-05-2022_13-55-21.txt

This only happens with Microsoft Surface Headphones 2. I do not have this problem with buds from Samsung. Seems that google assistant support could be a problem?

chilliger avatar Nov 05 '22 13:11 chilliger

The MediaSession receives a KEYCODE_MEDIA_STOP event, which may cause the stream to completely stop. This is tricky - I have to look into it. But I suspect the headphones to be the main problem here.

cemrich avatar Dec 15 '22 14:12 cemrich