Unifi network, U7 pro wifi to which the speakers and the phone is connected
Tailscale on my phone to access my navidrome server.
The initial problem:
I can see all of the speakers in the cast tab, connecting to them allowed me to change the volume but playback did not work through chromecast (it worked, although slow, with uPNP)
The fix: tailscale split tunnel (don’t route symfonium through tailscale on my phone) and use a subnet router (192.168.0.0/24) on my navidrome server. Configure symfonium to connect to my local ip (192.168.x.x) instead of to the tailscale ip (100.x.x.x)
Now, if I wait long enough (30 sec to 1 minute) after connecting to the speaker through chromecast, music starts to play but the play button is very slow in changing the music state, and putting on a new song again results in a 30 sec to 1 minute delay.
What I’ve tried:
Enabling “proxy via symfonium”
Disabling private DNS in my phone settings
Checking if mDNS is enabled in unifi settings
Enabling/disabling multicast to unicast
Enabling/disabling IGMP snooping
Transcoding the FLAC files to OPUS
Other apps (home assistant, ensembl) are able to cast without any issues.
It seems more responsive (both uPNP and chromecast) after setting ND_BASEURL=”http://192.168.x.x:4533” in the navidrome docker compose file, but selecting a chromecast device still gives a 10-20 sec delay. uPNP is hit or miss, either it works immediately or I have to disconnect-reconnect-disconnect-reconnect. Once uPNP is connected and starts playing, changing songs is instant.
The logs makes no sense are you sure there’s no other app or tools on your network that attempts to control those devices ?
When casting from the server it connects instantly then start loading then auto pause then disconnect for no reason and can’t reconnect for the long duration.
When casting from local it’s the same but disconnect even faster.
All happens outside of the app.
Check your play services version on the phone and if there’s updates for the tv