title: Automatically access the camera without asking for permission
body: <p>I am using Media Recorder to record the video and audio from the camera. Each time I start recording It asks for the permissions.</p>
  
  <p>Is it possible to automatically take the user access to the camera.</p>
  
  <p>I am using the below code to get the camera access.</p>
  
  <pre><code> navigator.getMedia = (navigator.getUserMedia ||
            navigator.webkitGetUserMedia ||
            navigator.mozGetUserMedia ||
            navigator.msGetUserMedia);
  
  
    if (!navigator.getMedia) {
        displayErrorMessage("Your browser doesn't have support for the navigator.getUserMedia interface.");
    } else {
  
        // Request the camera.
        navigator.getMedia(
                constraints,
                // Success Callback
                        function (stream) {
  
  }
  </code></pre>