Skip to content

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

License

Notifications You must be signed in to change notification settings

lowtianwei/CastReceiver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. Set up your Google Cast devices using steps 1-3 depending on the device type.
  2. Host your Web Receiver app so that it is accessible using HTTPS.
  3. Register your Web Receiver as a Custom Receiver on the Google Cast SDK Developer Console.
    1. Enter your app name, URL to load when your app is launched, if it supports Guest Mode, and if casting to audio only devices is supported.
    2. Add your Android TV app package name if Cast Connect is supported.
    3. Add at least one sender under "Sender Details".
    4. Optionally, list your Web Receiver so it can be used with Intent to Join and can be discovered by users.
  4. Once your app is ready, you will need to publish your app to allow all users to have access to your app. Until then, you can skip publishing to restrict the app to only devices listed in the Cast SDK Developer Console.
  5. Check to make sure all of your devices are listed in the developer console under "Cast Receiver Devices". If a device is not listed, find your test device serial number and register your device in the developer console.
  6. Restart your test devices so they can discover your receiver.
  7. Now that your receiver is set up, enter the Web Receiver App ID into your sender application or one of our reference sender applications listed above.
  8. You should now be able to launch your receiver using a sender. Note that it may take up to 15 minutes for all of the above changes to propage through the system.
  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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.5%
  • CSS 3.9%
  • HTML 2.6%