Search code examples
javascriptgoogle-castchromecast

Is it possible to create a Google Cast Sender application using HTML5 and javascript only?


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?


Solution

  • 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