I have Jellyfin installed on a remote machine, connected to my laptop and phone via Tailscale. Is it possible to cast from that machine to a gen 2 Chromecast?
From the Jellyfin instance installed on my laptop, in the same LAN, I can authenticate from the phone and cast to the Chromecast, so all the pieces work.
I have tried announcing the subnet from the laptop (–advertise-routes=192.168.1.0/24
), with IP forwarding etc. The remote machine accepts the route and can ping the Chromecast (192.168.1.100
). From the phone I can connect to the server and start casting. The screen shows the Jellyfin logo, but playing anything has no effect.
Has someone managed to make it work?
lemmyvore@feddit.nl 11 months ago
When you “cast” from the phone to the Chromecast, what happens it that the phone gives the Chromecast an URL where it can find the stream to play. The phone can read that stream because it’s connected to the Tailscale VPN. The Chromecast isn’t, so the stream URL is inaccessible to it. You see the Jellyfin logo because that’s a feature of casting (the app on the phone gives the Chromecast a logo to show).
There’s no point in announcing the subnet from your laptop, because your laptop is not a router for the local LAN. You can use this to reach local LAN devices from remote Tailscale nodes but not the other way around.
Some possible solutions:
qubik@lemmy.world 11 months ago
pastrami@sammich.es 11 months ago
I use this same method to stream to Chromecast regularly (with Kodi). I will sometimes have issues with some encodings, or desyncs when pausing, but it is solid enough to support streaming full movies at 4K.
TechAdmin@lemmy.world 11 months ago
For 3, if router supports it could also try doing static route via Tailscale joined machine that has IP forwarding enabled