问题
Why can't my Chromecast receiver app see passed query parameters? I'm using the example web app sender application @
http://googlecast.github.io/cast-chrome/
My receiver app is correctly launched on the Chromecast but the query parameters which I have provided do not appear to have been supplied.
Is this a problem with the sender application or are the supplied query params being lost somewhere?
回答1:
How are you passing the query parameters? For query parameters to be accepted by the receiver, the receiver url should have an ending like: ...${POST_DATA} so as an example, the full url for a receiver should be like:
http://example.com/receiver/index.html?{POST_DATA}
If yours doesn't follow that, contact us so we can update your url.
来源:https://stackoverflow.com/questions/20472141/chromecast-receiver-app-query-parameters