title: how to enable screen/desktop capture in chrome?
body: <p>I am able to achive it in firefox by folowing below steps:</p>
  
  <ol>
  <li>make my server <code>https</code></li>
  <li>append my domain to the user preference  <code>media.getusermedia.screensharing.allowed_domains</code> in <code>about:config</code> to whitelist it for screen sharing.</li>
  <li>use constraint like <code>{video: {mediaSource: "screen"}}</code>, </li>
  </ol>
  
  <p>but in chrome, I am getting totally lost.  </p>
  
  <p>most places keep telling:  You'll need to first enable the flag called Enable screen capture support in getUserMedia() in chrome://flags. ( but I am <strong>unable</strong> to find this flag anywhere)</p>
  
  <p>I have checked Muaz Khan's <a href="https://github.com/muaz-khan/Chrome-Extensions/tree/master/desktopCapture" rel="noreferrer">screen share plugin</a>, it works great, but afraid that it is coupled with other WebRTC experiment projects, and I am not sure how to customize the plugin to my project.</p>
  
  <p>At this junction, I have come to an understanding that, without plug-in or flags, cannot capture the desktop mediastream.</p>
  
  <p>so what I would like to know is, what is the flag I must enable/ what must be part of a plug-in written from scratch to make chrome support capturing desktop the same way it allows us to capture camera.</p>