mediathekview / zapp

German public broadcasting live streams as an Android app
https://mediathekview.de/news/zapp/
MIT License
199 stars 33 forks source link

stream resets when disconnecting Bluetooth device #330

Open chilliger opened 1 year ago

chilliger commented 1 year ago

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.

cemrich commented 1 year ago

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

chilliger commented 1 year ago

Android 13 pixel 4a, zapp 7.0.4

I can provide logs if needed

cemrich commented 1 year ago

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

chilliger commented 1 year ago

Turning them off.

chilliger commented 1 year ago

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?

cemrich commented 1 year ago

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.