Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- navigator.mediaDevices.enumerateDevices().then(devices => {
- devices.forEach(device => console.log(device.label))
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement