Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do a Chromecast API White List URL page?

Tags:

chromecast

I want to integrate with the Chromecast Developer API so I want my chromecast(being shipped) whitelisted but you are supposed to supply 2 URLs. What exactly are these for? I might just be confused about how it works. Thanks.

EDIT:

I found this source to be a good example to demonstrate how to use it. The HTML in the receiver is what you would have the white listed URL pointing to.

like image 986
user1132959 Avatar asked Jul 26 '13 22:07

user1132959


2 Answers

A Receiver is a HTML5 application (HTML/JS/CSS3) that runs on the Chromecast device. Your Sender application must send an APP ID to the device, which then looks up the app in a table and loads your page for you. You then use the App ID in your Receiver (on the Chromecast device) to open a connection to your Sender.

We ask you to provide one or two URL's. We expect that you'll want to have a development URL, and eventually a production one. You only need to provide one.

like image 99
Les Vogel - Google DevRel Avatar answered Sep 20 '22 04:09

Les Vogel - Google DevRel


From the Chromecast Device Whitelist Request Form

Please provide at least one receiver URL, we will provide an Application ID for each of them, 2 max (typically, you'll list a production URL and a testing URL)

like image 45
Craig Siemens Avatar answered Sep 24 '22 04:09

Craig Siemens