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
- Set up your Google Cast devices using steps 1-3 depending on the device type.
- Host your Web Receiver app so that it is accessible using HTTPS.
- Register your Web Receiver as a Custom Receiver on the Google Cast SDK Developer Console.
- 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.
- Add your Android TV app package name if Cast Connect is supported.
- Add at least one sender under "Sender Details".
- Optionally, list your Web Receiver so it can be used with Intent to Join and can be discovered by users.
- 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.
- 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.
- Restart your test devices so they can discover your receiver.
- 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.
- 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.
- If you wish to watch what's going on in the receiver, use the Chrome Remote Debugger.
Please read and follow the steps in the CONTRIBUTING.md.
See LICENSE.
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.