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

Google Cast (Chromecast) functionality #4

Open
likethemammal opened this issue Mar 7, 2017 · 0 comments
Open

Google Cast (Chromecast) functionality #4

likethemammal opened this issue Mar 7, 2017 · 0 comments

Comments

@likethemammal
Copy link
Owner

This is something I've wanted from the very beginning of this project. I've tried adding it in the past but Chromecast's version of Chrome is a bit different than the Desktop's. Someone recently asked me my thoughts so I thought I'd document them here for everyone.

--

Back when I tried, the Chromecast's chrome browser didnt have the Web Audio API functionality to visualize audio. So the data had to come from the Desktop/Laptop (Sender) that was casting.

I could either use WebRTC to send the data directly to the Chromecast or I could send it over the server. I tried both. Unfortunately, although Chromecasts use WebRTC to make casting work, the WebRTC API is (was) not openly available to the Sender. So I had to use a server-side approach. Tried Websockets and got visualizations showing up on the Chromecast but the FPS was waay to low. Something like 2 frames a second.

I stopped trying to do Chromecast from there. I'm guessing the software and hardware are better now, so its probably more possible. The chromecast branch has my work in it, but the rest of the project in that branch is pretty outdated https://github.com/likethemammal/css-visualizer/tree/chromecast

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

1 participant