mediaDevices.enumerateDevices and mediaDevices.getUserMedia take up to 60 seconds to complete sometimes
See original GitHub issueMostly it’s working just fine without any problems but from time to time the mediaDevices
methods take up to 60 seconds until they return something. What’s surprising is that it only happens with the mediaDevices
methods. The rest of the code works flawlessly without any issues. The problem is that I don’t get any error messages because there is no error. It just takes very long for them to complete. I’m not sure if the bug originates from the library itself or if it’s located somewhere in my code. I’d appreciate any ideas or hints!
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
MediaDevices.enumerateDevices() - Web APIs | MDN
The MediaDevices method enumerateDevices() requests a list of the available media input and output devices, such as microphones, cameras, ...
Read more >getUserMedia resolutions III - constraints unleashed
How to specify and find WebRTC camera resolutions in Chrome, Firefox, and Edge using the getUserMedia API and its constraints with a dataset ......
Read more >Is there any reason why no error found in calling navigator ...
Accessing camera list by navigator.mediaDevices.enumerateDevices() is ok but accessing these device by their specific id using navigator.
Read more >Safari Technology Preview Release Notes - Apple Developer
Fixed an issue where browser.tabs sometimes returned an incorrect URL for pinned tabs. Bug Fixes. Fixed the Share Menu when sharing an image...
Read more >AudioCodes WebRTC examples - Call
In this document we demonstrate how to use the API to write WebRTC client phones. ... Sometime opening the JavaScript console is difficult...
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
That’s a good point! I’ll post an update on this next week with the logs. I’m supposed to work on a different project this week…
No follow-up, closing.