google cast - How does one query the "parameters" sent to a Chromecast Reciever app? -
the docs shown on page demonstrate how send arbitrary parameters sender app receiver app:
https://developers.google.com/cast/chrome_sender
specifically, here:
request.parameters = "v=abcdefg";
but, don't see how receiver app supposed access parameters once sent? have example of jscript receiver see string?
it looks chromecast pulls down built-in application settings following url: https://clients3.google.com/cast/chromecast/device/config
if take @ file, you'll notice many of urls this:
https://www.youtube.com/tv?${post_data}
notice ${post_data}
specified part of url defines application. guessing, assume unless application setup on google's whitelist, you'll unable receive data via url.
it may worth using channel send data require application instead of trying use request.parameters.
Comments
Post a Comment