Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal invocation Error #26

Open
Blacktoviche opened this issue Nov 3, 2018 · 10 comments
Open

Illegal invocation Error #26

Blacktoviche opened this issue Nov 3, 2018 · 10 comments

Comments

@Blacktoviche
Copy link

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

@trostli
Copy link

trostli commented Nov 7, 2018

I'm experiencing the same bug

@Blacktoviche
Copy link
Author

@trostli As we are on the clock I managed to integrate https://github.com/mattdiamond/Recorderjs in our React app
It works fine

@toneplex
Copy link

toneplex commented Nov 9, 2018

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

@ryanyu104
Copy link

@trostli As we are on the clock I managed to integrate https://github.com/mattdiamond/Recorderjs in our React app
It works fine

How did you solve this problem? Could you give more details? THX

@murali-vutti
Copy link

I am also getting the same error on Chrome. Did anyone solve this issue?

@MatrixFrog
Copy link

MatrixFrog commented May 16, 2019

If @toneplex 's comment is correct then something like #29 should work (not tested yet!)

@MatrixFrog
Copy link

update: I tried the demo page with that fix and it seems to be working! 🎉

@jakeols
Copy link

jakeols commented Jul 1, 2019

FYI I installed @MatrixFrog's fork and it works great! (Chrome Version 74.0.3729.157 (Official Build) (64-bit))

@jahirfiquitiva
Copy link

@jakeols how did you do so?

@jakeols
Copy link

jakeols commented 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",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants