title: Chrome update-Failed to execute 'createObjectURL' on 'URL'
body: <p>I'm taking an image from the webcam and storing it to the server. Everything was working fine until I got the chrome update today. My latest chrome version is:</p>
  
  <blockquote>
    <p>Version 71.0.3578.80 (64 bit)</p>
  </blockquote>
  
  <p>This line is throwing an error:</p>
  
  <pre><code>camera.src = window.URL.createObjectURL(stream);  
  </code></pre>
  
  <blockquote>
    <p>Failed to execute 'createObjectURL' on 'URL': No function was found
    that matched the signature provided.</p>
  </blockquote>
  
  <p>According to this link <a href="https://stackoverflow.com/questions/51101408/deprecation-of-createobjecturl-and-replace-with-the-new-htmlmediaelement-srcobje">here</a>. I applied the code</p>
  
  <pre><code>try {
    this.srcObject = stream;
  } catch (error) {
    this.src = window.URL.createObjectURL(stream);
  }
  </code></pre>
  
  <p>Its not displaying the camera feed.</p>
  
  <p>For reference - This <a href="https://jsfiddle.net/dannymarkov/cuumwch5/" rel="noreferrer">jsfiddle</a> code is not working on my chrome anymore.</p>