Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

134
Views
Webcam application:overload resolution failed

I have this code for a webcam application that has error which is :overload resolution failed.

const video=document.getElementById('webcam');
const canvas=document.getElementById('photo');
const ctx=canvas.getContext('2d');
function getVideo() {
   navigator.mediaDevices.getUserMedia({audio:false, video:true}).then(localMediaStream=>{
video.srcObject=window.URL.createObjectURL(localMediaStream);
video.play();
});}
  function paint() {
    const width=video.videoWidth;
    const height= video.videoHeight;
    canvas.width=width;
    canvas.height=height;
   setInterval(function (){ctx.drawImage(video,0,0,width,height)},16);

  } 
  video.addEventListener('canplay',paint());
 getVideo();   
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!