fredrikburmester / streamyfin

A Jellyfin client build with Expo
Mozilla Public License 2.0
717 stars 20 forks source link

Allow chromecast without google play services (somehow) #131

Open JVT038 opened 2 days ago

JVT038 commented 2 days ago

Describe the solution you'd like I have a phone running /e/OS and it doesn't have Google Play Services. Therefore, the usual chromecast doesn't work on my phone.

However, for some reason (not sure why), VLC (and a handful of other apps) are still able to cast content to my TV; I tried it with this app and it crashes when I attempt to cast something (as expected).

Streamyfin can still find my TV on my WiFi network, but it can't cast to my TV.

If you want to add this, you should probbably take a look at the VLC source code, because their app actually works (for some unknown reason).

fredrikburmester commented 2 days ago

The reason that VLC probably works is because they set up a streaming server on the phone to allow for casting local content. They don't rely on google play services. No external internet required.

Streamyfin and other apps like Netflix and Youtube cast by sending a stream URL to the Chromecast and then you can completely turn off your phone if you want, the chromecast will stream from the URL.

This is probably what is happening.

JVT038 commented 2 days ago

Ah ok, thanks for the explanation.

So my follow-up question will be: Can you implement a local casting server, so that no google play services is required? Or is that out of scope for this project?

fredrikburmester commented 2 days ago

I'd like to, but i have no idea how to do it, so it would take a while if i don't get any help. But it's not going to be on the v1 roadmap based on what I can manage alone.