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

213
Views
webkitSpeechRecognition cancela y no escucha nada a menos que reinicie Chrome

Empecé a hacer una pequeña aplicación de reconocimiento de voz.

 let loading = document.getElementById('loading') let main = document.getElementById('main') let speech = new webkitSpeechRecognition(); let isLoading = true speech.addEventListener('error',(e)=>{ switch(e.error){ case 'not-allowed': // Visual code here left out break; default: console.error(e) break; } }) speech.addEventListener('end',()=>{ speech.start(); }) function parseResult(result){ if(result.type == 'result'){ let text = result.results[result.resultIndex][0].transcript // Visual code here left out } } speech.onresult = parseResult; speech.continuous = true; speech.start();

Y funciona bien una vez, luego, una vez que actualizo, arroja esto cada 5 segundos más o menos:

Esto se soluciona yendo a chrome://restart , pero me gustaría que los usuarios no tuvieran que reiniciar todo el navegador cada vez que accedieran a la aplicación.

¿Alguna idea de lo que está pasando?

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!