Enable a consistent use of
navigator.mediaDevices.enumerateDeviceson browsers that support it.
But I thought
adapter.js already polyfills this? They do, but this is for those who aren't already using adapter.js but want to polyfill
Just install it from
npm and require it in your app.
npm install enumerate-devices-shim --save
May 17, 2016, Firefox 38+, Microsoft Edge, and Chrome 44+ support of enumerateDevices.