Hacker News new | ask | show | jobs
by crazygringo 4520 days ago
Cool! I was wondering how long it would take for someone to put something together after the SDK came out. Answer: not long!

Question: is this 1) transcoding like "cast this tab" does (assuming not), 2) routing the original data stream via my computer, or 3) having the Chromecast download the stream directly?

And if #3, are there any issues with login permissions, cookies, etc. not being present on the Chromecast?

1 comments

Good question. I'm not doing anything special other than grabbing the MP4 and sending it to Chromecast, so I assume it's #3. As far as login permissions, I haven't run into any with my brief testing. I would assume since I'm grabbing the MP4 file directly (and sometimes even with the temporary timestamp to allow access to the file) it's not going to be much of an issue. Google put out a LOT of sample code to make this relatively easy to implement. Honestly, coming up with the REGEX that worked across as many sites as possible was the hardest part.