robert 38dff5cb6e Make Chromecast devices and casting work by doing several different things:
- the media router extension which handles chromecast is only enabled
   on official Chrome builds so enable it on chromium as well

 - our multicast implementation is a legacy one so patch it around
   to make it work and use SO_REUSEADDR and SO_REUSEPORT on the socket
   to make other clients able to bind to the same port and address so
   that everything will work smoothly together and chromium will not
   "block" the multicast ports

 - enable a good amount of features that are used in the javascript extension
   code that were only enabled for linux and used by the media router
   extension

Everything works from youtube casting, desktop casting to browser tab casting.
The only thing that does not work is the actual initial setup of the chromecast
device because that requires connecting to the device's wifi network and the browser
cannot do that on OpenBSD so another device has to be used for that, but I guess
everyone has a smartphone nowadays :)
2017-12-25 00:17:32 +00:00
..