Re: [mediacapture-main] I want enumerateDevices() filter argument. :-)

what's wrong with 
```
navigator.mediaDevices.enumerateDevices()
.then(list) { return list.filter(dev => dev.kind='videoinput') };
```
? (apologies for errors in Javascript syntax)

-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/522#issuecomment-397967472 using your GitHub account

Received on Monday, 18 June 2018 07:38:49 UTC