Skip to content

Commit efaec7f

Browse files
✨Issue #9 Added fetch of devices and constraints data on creation of mediaDevices
1 parent ed01a37 commit efaec7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

www/mediadevices.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,6 @@ mediaDevices.getUserMedia = function (constraints) {
9595
}
9696
});
9797
};
98-
98+
mediaDevices.getSupportedConstraints();
99+
mediaDevices.enumerateDevices();
99100
module.exports = mediaDevices;

0 commit comments

Comments
 (0)