Skip to content

Enable a consistent use of navigator.mediaDevices.enumerateDevices on browsers that support it.

License

Notifications You must be signed in to change notification settings

pbojinov/enumerateDevices-shim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

enumerate-devices-shim

Enable a consistent use of navigator.mediaDevices.enumerateDevices on 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 enumerateDevices.

Getting Started

Just install it from npm and require it in your app.

npm install enumerate-devices-shim --save

MediaDevices.enumerateDevices Support

As of May 17, 2016, Firefox 38+, Microsoft Edge, and Chrome 44+ support of enumerateDevices.

About

Enable a consistent use of navigator.mediaDevices.enumerateDevices on browsers that support it.

Resources

License

Stars

Watchers

Forks

Packages