Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
HTML JavaScript
branch: master
Failed to load latest commit information. first commit
LICENSE first commit Fix Readme link
s3.js first commit
sample_media_receiver.html Catch exception when trying to stringify JSON object.


This Google Cast demo application shows how to build a receiver application that can cast videos from a Cast Sender device. It is meant to demonstrate the use of the Google Cast Receiver APIs.


  • (Optional) NodeJS (
  • A Google Cast Receiver Device (eg. Chromecast)

Setup Instructions

  • You will need a Google Cast device such as a Chromecast to run this sample code
  • Register your Cast device Developer Console (( to allow it to run this sample
  • Register a custom receiver application on the Cast Developers Console ( The URL to use will be the IP address of the system you will run the receiver server from. If you run the server using the provided NodeJS server on your local machine, enter the ip-address of your computer with it's non local IP (eg. You will get an App ID when you finish registering your application.
  • Setup the project dependencies
  • Run the provided NodeJS server script using NodeJs or deploy to an existing server

Project Setup (Optional)

  • Install NodeJS ( for your platform
  • In the root of this project execute
  • $> npm install express
  • $> node s3.js
  • Receiver will be available on http://IP-Address:9999/sample_media_receiver.html which should be the URL for your registered application in the Developer Console


The source is heavily documented and for additional reference please refer to the Receivers section of the Google Cast documentation.

References and How to report bugs

How to make contributions?

Please read and follow the steps in the



Something went wrong with that request. Please try again.