Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would it be possible to run a Server in a Raspberry Pi? #45

Open
sanbor opened this issue Nov 16, 2017 · 9 comments
Open

Would it be possible to run a Server in a Raspberry Pi? #45

sanbor opened this issue Nov 16, 2017 · 9 comments

Comments

@sanbor
Copy link

sanbor commented Nov 16, 2017

I wonder if it would be possible to setup a Raspberry Pi as a Chromecast server and send stuff to it from the mobile phone, etc.

@danopia
Copy link

danopia commented Dec 8, 2017

My understanding of the Cast protocol is that Google holds the encryption keys necessary to host a Cast. Nearly anyone can create apps that send stuff to a Chromecast, but only Google and friends are able to make the Chromecast itself

@Onfire7
Copy link

Onfire7 commented Jul 3, 2018

TECHNICALLY, yes it should be possible. Checking that a Chromecast is valid is not actually mandatory for a Chromecast app. So it can probably be done, but it would only work with apps that don't check that it's a legit Chromecast, which is basically only going to be ones you create...

How hard it would be to actually implement a fake Chromecast might be another story though, I'm not sure there is enough info available to do it without a stupid amount of reverse engineering...

@LukasBombach
Copy link

I hate google

@LukasBombach
Copy link

For the record, I tried this project an I can stream YouTube from my phone to my Mac:

https://github.com/vbaicu/mMusicCast

@LukasBombach
Copy link

So it seems possible

@ssieb
Copy link

ssieb commented Nov 18, 2018

According to what I read on that project, it only emulates a V1 chromecast, so it won't be recognized by many (most?) devices. It depends on what you want to do with it.

@LukasBombach
Copy link

That's in fact true, it responds to the DIAL protocol

@LukasBombach
Copy link

Also, what I found is that you still need to know the URLs of each chromecast app to support it. For instance, youtube's chrome app runs at https://www.youtube.com/tv , if you want to support spotify on your emulated chromecast you'd need to know their url for their chromecast app

@gsedej
Copy link

gsedej commented Mar 13, 2019

Thanks for suggestion. The solution does work with pre-installed chromium on raspbian, but it's very slow. The even 320p is not fluid, specially when controls are present.

I suspect the system (raspberry/raspbian + chromium) can't use HW decoding (omxplayer-like) for website videos. I did notice "h264ify" is also preinstalled in chromium.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants