Reputation: 81
I've read on https://developers.google.com/cast/docs/receiver_apps that you can debug in Chrome what is being done on Chromecast. However when i try
http://RECEIVER-IP-ADDRESS:9222
I verified the receiver-ip-address using the Chromecast application on my phone.
I get Chrome stating "This webpage is not available" and under the More button, it states "Error code: ERR_CONNECTION_REFUSED".
Currently, my android application that I'm creating can be casted to Chromecast using the default media receiver application id.
By the way, my android application is successfully casting .jpg files as the user presses the app's next/prev buttons. I notice the default media receiver fades the current image away and displays the next image being casted. I'd like to ultimately have no fading and just show the next image that the user is requesting.
Thanks, Jim
Upvotes: 3
Views: 3260
Reputation: 11
Getting the browser to speak or display the correct Serial Number rather than reading it manually off the device was what helped me. I was incorrectly reading an 'O' instead of a '0'. "Reading for Testing" does not mean that SDK console checks for Serial Number validity.
Upvotes: 1
Reputation: 4656
You need to configure your Chromecast as a developer device: https://developers.google.com/cast/docs/developers Its very easy to get the serial number wrong when you register the device in the Google Cast Developer Console, so double check that (taking a photo of the serial number will help to make the numbers clearer) Restart the device to make sure it is configured correctly.
Upvotes: 2