Chromecast Receiver App Query Parameters

不羁岁月 提交于 2019-12-11 14:25:25

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!