![]() For the purpose of this codelab it's advised to work with an unpublished receiver application.Įnter the serial number printed on the back of your Cast device and give it a descriptive name. Once you publish your receiver application, it will be available to all Google Cast devices. You must also register your Google Cast device so that it may access your receiver application before you publish it. Make a note of the Application ID assigned to your brand new receiver. ![]() Select "Custom Receiver," this is what we're building.Įnter the details of your new receiver, be sure to use the URL you ended up with After you've registered your application, you'll receive an application ID that your sender application must use to perform API calls, such as to launch a receiver application. You must register your application to be able to run a custom receiver, as built in this codelab, on Chromecast devices. Sign up for an account on the Google Cast SDK Developer Console and pay the registration fee. Register an application in the Cast Developer Console You will be using it in the next section.Ĥ. Make note of the URL for your hosted receiver. Once you have the service of your choice set up, navigate to app-start and start your server. If you don't have a server available to use, you can use Firebase Hosting or ngrok. Should you already have a server available to you that supports https, skip the following instructions and make note of the URL, as you'll need it in the next section. To be able to use your web receiver with a Cast device, it needs to be hosted somewhere where your Cast device can reach it. app-done-The complete code for the finished sample video app.app-start-The starting code that you'll build upon in this codelab.The Receiver codelab repository contains two sample projects: You can download all the sample code to your computer. How will you use this tutorial? Read it through only Read it and complete the exercises How would you rate your experience with building web apps? Novice Intermediate Proficient How would you rate your experience with watching TV? Novice Intermediate Proficient We have extensive documentation for receiver, iOS, Android and Chrome senders. If you are in a location where the WiFi network isn't reliable, then the Chromecast device can be wired by using an ethernet adapter for Chromecast or for Chromecast with Google TV. You will also need previous knowledge of watching TV :).You will need to have previous web development knowledge.A Google Cast device such as a Chromecast or Android TV configured with internet access. ![]()
0 Comments
Leave a Reply. |