I'm developing playing video on TV via ChromeCast device.
I whitelisted my device and got APP ID from google.
I replaced it in receiver.html file and res/values/strings.xml file in Android project.
I ran the project, it found the chromecast. But can't play video on TV.
Nothing happens on TV.
I already uploaded receiver.html file into URL server that I registered when whitelisting.
Here my APP_ID: <redacted>
Should I change it to e81e1b35–414d–4684–82a0–c762837a2101
?
And put it to strings.xml file in Android project and receiver.html file.
Can anyone solve it?
Thanks
Huy, first, it is best if you don't share your app id with the world :-) regarding your issue, putting "-" in the app id in your strings.xml is fine. First need to make sure your device is whitelisted; can you access your chromecast device through your chrome browser by hitting
http://<ip-address-of-chromecast>:9222
If not then there is an issue with your whitelising; in that case, did you remember to check the box 'Send serial number to Google' when you were setting up your chromecast device?