question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Illegal invocation Error

See original GitHub issue

Error produces when press “Record” button on Opera waveInterface.js:38 Uncaught (in promise) TypeError: Failed to execute 'getUserMedia' on 'MediaDevices': Illegal invocation

on Firefox TypeError: 'getUserMedia' called on an object that does not implement interface MediaDevices

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:11
  • Comments:10

github_iconTop GitHub Comments

1reaction
toneplexcommented, Nov 9, 2018

The issue is that navigator.mediaDevices.getUserMedia uses promises not callbacks for success and error.

0reactions
jakeolscommented, Nov 11, 2019

@jahirfiquitiva hey, sorry I completely missed the notification for this. Just add it in your package.json like below, and the run npm install

"react-audio-recorder": "github:MatrixFrog/react-audio-recorder#master",
Read more comments on GitHub >

github_iconTop Results From Across the Web

"Uncaught TypeError: Illegal invocation" in Chrome
In your code you are assigning a native method to a property of custom object. When you call support.animationFrame(function () {}) , it...
Read more >
Uncaught TypeError: Illegal invocation in Ajax function
I'm trying to send a form to my handler, but I get an error "Uncaught TypeError: Illegal invocation". When I try to send...
Read more >
Uncaught TypeError: Illegal invocation - jQuery Forum
Hi, I am getting the above error and can't figure our why? kindly help.. This is my code: var formData = new FormData(); ......
Read more >
Getting the Error Illegal Invocation at Object - SitePoint
I'm learning Bootstrap 5 and I created a simple web page to test out the creation, opening, and closing of modals without using...
Read more >
TypeError: Illegal invocation - New Relic Explorers Hub
I see this javascript error quite frequently in our web logs. Hoping there is a way to resolve it or at least understand...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found