sxnb / CastReceiver

Reference Receiver: CastReceiver shows how to develop a fully Cast Design Checklist compliant receiver with additional features.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CastReceiver

This sample shows how to develop a fully Cast Design Checklist compliant receiver with additional features.

This is a reference receiver app to be used as the starting point for your custom receiver

List of reference apps and tutorials

Setup Instructions

  1. Get a Google Cast device and get it set up for development: https://developers.google.com/cast/docs/developers#setup_for_development.
  2. Upload the project to a website that can be accessed from your Chromecast. Later, when you publish your application, you will need to host so that it is accessible using HTTPS.
  3. Register an application on the Google Cast SDK Developer Console. Enter the URL for the player.html. There is a button marked publish, if you set that, then your receiver can be accessed by all devices, but it requires that you be serving using https. Not publishing your app, lets you restrict the receiver to devices that you specify and allows you to host on most development servers.
  4. If you haven't already done so, please register the serial # of your Google Cast device in the developer console as well.
  5. Using the Chromecast setup application, make sure [x] send your serial number to Google is checked. This is the only way that you can access your unpublished receiver. While you are in the Setup application, make a note of the IP address of your Chromecast. It will be helpful later if you wish to use the Chrome Remote Debugger.
  6. 15 minutes after you have updated the developers console, you should reboot your Chromecast, so that it picks up the changes.
  7. Enter the App ID of your receiver application into your sender application or one of our sample sender applications listed above.
  8. You should now be able to launch your receiver using a sender.
  9. If you wish to watch what's going on in the receiver, use the Chrome Remote Debugger.

Documentation

References

How to report bugs

Contributions

Please read and follow the steps in the CONTRIBUTING.md.

License

See LICENSE.

Terms

Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service and the Google Cast SDK Additional Developer Terms of Service.

About

Reference Receiver: CastReceiver shows how to develop a fully Cast Design Checklist compliant receiver with additional features.

License:Apache License 2.0


Languages

Language:JavaScript 91.9%Language:CSS 4.9%Language:HTML 3.3%