NOTE: camera and screen can be casted over HTTPS only in Chrome. For the screen the --enable-usermedia-screen-capturing flag must be set. window or application casting is only supported in Firefox 44 on.
NOTE: except for camera, to enable screen, window or application casting open about:config URL
and set media.getusermedia.screensharing.enabled to true
and permanently add the current domain to the list in media.getusermedia.screensharing.allowed_domains.
NOTE: if you want to cast music, for better audio quality disable echo-cancellation.
NOTE: if you want to cast music, for better audio quality disable echo-cancellation,
and aec, noise-suppression, agc in the browser configuration (about:config).