问题
Can the Sender-Receiver communication in a cast sender application be implemented in pure javascript and run inside browser?
Is the API only available for android and iOS?
回答1:
No, you need to be able to read from the UDP port used to execute the M-SEARCH query in your multicast domain. No way as far as I know. This might change if Google decides to utilize another discovery protocol in addition to DIAL.
http://www.dial-multiscreen.org/
Reading from udp port in browser
来源:https://stackoverflow.com/questions/18533369/is-it-possible-to-create-a-google-cast-sender-application-using-html5-and-javasc