title: getUserMedia() is not allowed in localhost - Safari 11
body: <p><code>Trying to call getUserMedia from an insecure document.</code></p>
  
  <p>I'm testing safari 11 tech preview. Got this error while trying to run <a href="https://webrtc.github.io/samples/src/content/getusermedia/gum/" rel="noreferrer">basic peer</a> in localhost. Does anyone experience the same or is localhost treated as insecure region in safari 11?</p>
  
  <p>Any flag or settings to allow this in safari? 
  Currently i'm using ngrok to tunnel it via https and accessing in the same machine.</p>