We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f26550d commit 3ecf4ceCopy full SHA for 3ecf4ce
adapter.js
@@ -219,7 +219,7 @@ if (typeof window === 'undefined' || !window.navigator) {
219
var orgEnumerateDevices =
220
navigator.mediaDevices.enumerateDevices.bind(navigator.mediaDevices);
221
navigator.mediaDevices.enumerateDevices = function() {
222
- return orgEnumerateDevices().then(null, function(e) {
+ return orgEnumerateDevices().then(undefined, function(e) {
223
if (e.name === 'NotFoundError') {
224
return [];
225
}
0 commit comments