Instant crash when accessing navigator.getUserMedia
See original GitHub issueAttempting to access the camera or microphone either through code or the console will result in the chrome instance crashing
- VS Code Version: 1.43.0
- Chrome Version 80
- Log file (set
"trace": true
in launch config):
Steps to reproduce:
- Start a Chrome instance using VS Code Chrome Debug
- Open console and paste in this line: navigator.getUserMedia({video:true},devices=>{console.log(‘hello’)},err=>{console.log(err)})
- Allow access to the camera
- Chrome will crash without a trace
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:31 (12 by maintainers)
Top Results From Across the Web
navigator.getUserMedia keeps crashing my browser without fail
When I try to get a webpage to display my webcam, the tab crashes 100% of the time. Crashed report ID: b9b6fdd9dd5fac8a. How...
Read more >getusermedia freezes in mobile browsers - Stack Overflow
{// Standard navigator. getUserMedia(videoObj, function(stream) { video. src = stream; video.
Read more >AbortError Starting video failed returned from getUserMedia ...
In Firefox, open a webpage that calls navigator.mediaDevices.getUserMedia({video: true}) with a video element (see attached HTML for basic example).
Read more >getUserMedia() is crashing the app - Capacitor - Ionic Forum
When we call navigator.mediaDevices.getUserMedia({audio: true, video: {facingMode: 'user'} to get a stream from the camera our app crashes ...
Read more >WebKit | Apple Developer Forums
I can't access to "http://~~" URL after update ios16.2 ... Crash when requesting permissions for getUserMedia in WKWebView ... getUserMedia);navigator.
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 FreeTop 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
Top GitHub Comments
We’re still waiting on work from the Chromium team for this
I was able by allowing vscode permissions for camera and microphone, but I had to create these entitled permissions in first place.
Have a look at this: https://github.com/microsoft/vscode/issues/95062#issuecomment-751241372
Now all works for me when started directly from vscode!
MacOS Catalina (10.15.7)