Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

README.md

cast-custom-receiver-sample

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.

Dependencies

  • (Optional) NodeJS (http://nodejs.org)
  • 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 ((http://cast.google.com/publish) to allow it to run this sample
  • Register a custom receiver application on the Cast Developers Console (http://cast.google.com/publish). 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. http://172.17.21.148:9999/sample_media_receiver.html). 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 (http://nodejs.org/) 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

Documentation

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 CONTRIBUTING.md

License

See LICENSE

Something went wrong with that request. Please try again.