badaix / snapdroid

Snapcast client for Android
GNU General Public License v3.0
124 stars 25 forks source link

No sound on android client #58

Open dflvunoooooo opened 9 months ago

dflvunoooooo commented 9 months ago

I am having trouble with my android clients. If I start the playback on any android device, it plays sound for less then a second und then is silent forever. I have no clue why. This happens with version 0.27 and 0.26 on Android 13 and a five year old android. The sever is only throwing errors, after I hit the stop button in the app.

Here is what the snapserver says on connect:

Sep 21 21:03:37 mopsam snapserver[2130895]: StreamServer::NewConnection: 192.168.0.72
Sep 21 21:03:37 mopsam snapserver[2130895]: Hello from 8c60dc36-671d-4124-9b17-0da45115e3a4, host: SM-S911B, v0.27.0, ClientName: Snapclient, OS: Android 13, Arch: arm64-v8a, Protocol version: 2

And this is shown, after I stop the playback again:

Sep 21 21:04:02 mopsam snapserver[2130895]: Error reading message header of length 0: End of file
Sep 21 21:04:02 mopsam snapserver[2130895]: onDisconnect: 8c60dc36-671d-4124-9b17-0da45115e3a4
Sep 21 21:04:02 mopsam snapserver[2130895]: Error in socket shutdown: Transport endpoint is not connected

Can anyone please help?