Our Chrome browser thinks it’s a Chromecast dongle. Here’s a screenshot of it playing a YouTube video. note the tile banner and onscreen controls which are just like the ones you’d see on the actual hardware. give it a try yourself by downloading the Leapcast Python package which [dz0ny] programmed.
After cloning the GitHub repo we had a few problems compiling the package. turns out we needed to install python-dev and that took care of it. starting the daemon is a simple command, we specified our Chrome binary path as well as added a few flags
1
leapcast –name had –chrome /usr/bin/google-chrome –fullscreen
Once that was running the Android YouTube app automatically detected Leapcast as a Chromecast device. It gave us a tutorial overlay mentioning the new share icon on the interface. pressing that icon during playback launched an Incognito window which played the video. [dz0ny] links to a device config JSON file in the README. If you check it out you’ll notice that Netflix is listed as “external” while the others are not. This is because the Chromecast protocol uses a binary for Netflix. The others do it with local websockets or a cloud proxy so they work just fine with this setup.