MediaStreamError in Firefox
See original GitHub issueResume I am testing the compatibility of my web application and found an error that is only happening in Firefox. The error happens even in the demo
Expected Functionality
Scan the qr code through the init
event
Actual Functionality The camera is not being loaded on the page, even after granting permission, both on localhost and in production
Error Report
MediaStreamError : {
constraint: "",
message: "Starting video failed",
name: "AbortError"
}
Screenshots
Demonstration
MyApp Error Console
Desktop:
- (Ubuntu 18.04LTS): Firefox 79.0
Note I am using version ^ 2.3.11, before that I was using version ^ 2.1.1 and he pointed out the following error:
TypeError: s()(...)[0].getCapabilities is not a function
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
navigator.mediaDevices.getUserMedia({video:true}) throws ...
getUserMedia({video:true}) throws MediaStreamError ... (Firefox :: Untriaged, defect) ... Was able to capture the stream from the camera at Firefox 69.
Read more >AbortError Starting video failed returned from getUserMedia ...
In Firefox, navigate to the webpage from the attachment again. MediaStreamError - AbortError - Starting video failed - will display in the console,...
Read more >Navigator.getUserMedia() - Web APIs | MDN
... condition occurs, the error callback is executed with a MediaStreamError object describing what went wrong. ... Firefox for Android24.
Read more >OverconstrainedError - Web APIs - MDN Web Docs
Chrome Edge
OverconstrainedError Full support. Chrome63. Toggle history Full support. Ed...
OverconstrainedError() constructor Full support. Chrome63. Toggle history Full support. Ed...
constraint Full support. Chrome63. Toggle...
Read more >MediaDevices.getUserMedia() - Web APIs | MDN
The MediaDevices.getUserMedia() method prompts the user for permission to use a media input which produces a MediaStream with tracks ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, worked perfectly, thank you very much!
Screenshots
You’re absolutely right. Please check if this resolves your isssue: