ChromeCast: Chrome sample project not running

I follow the installation instructions here: https://github.com/googlecast/CastHelloText-chrome step by step.

I have a folder for hosting Google Drive here: https://drive.google.com/folderview?id=0ByI6ac75SrewSE1odEdBMm1fNk0&usp=sharing

I set my URL (for my application in the developer console) to https://googledrive.com/host/0ByI6ac75SrewSE1odEdBMm1fNk0/receiver.html

However, when I run my chromehellotext: https://googledrive.com/host/0ByI6ac75SrewSE1odEdBMm1fNk0/chromehellotext.html I get this error in the console: "onError: {" code ":" session_error "," description ":" NOT_FOUND ", "details": null} "and my Chromecast will not connect when I click on carriage return and select Chromecast.

What am I doing wrong?

+6
source share
3 answers

Checking the field for sending the serial number on google solved this problem for me as well. It took me a few minutes to figure out where this box is, so I can check it. I had to download the chromometer setup application, and then let it open my device, select it and click on settings. The checkbox is in the settings.

+6
source

It may take up to 6 hours to publish your receiver application. As the documentation suggests, all you have to do is restart Chromecast to force the device to reload configuration data. I had the same problem and needed a restart.

+5
source

Make sure your receiver application downloads the javascript file cast_receiver.js and also starts the castReceiverManager instance.

I saw the same timeout message before I did this. My recipient source code was just static HTML, but apparently this is not enough.

The following, in my index.html receiver, helped:

< script src = "//www.gstatic.com/cast/sdk/libs/receiver/2.0.0/cast_receiver.js"> < / script>

< script>

  window.castReceiverManager = cast.receiver.CastReceiverManager.getInstance(); window.castReceiverManager.start(); 

< / script>

code>

(copied from https://developers.google.com/cast/docs/custom_receiver )

0
source

All Articles