getdevicemedia Easily list and get MediaStreams from any media device. getdevicemedia(function (err, devices) { // devices is an array of capture devices devices[0].label // Built-in Microphone devices[0].getStream(function (err, stream) { stream // MediaStream for this device })}) install npm install --save getdevicemedia or <script src="dist/getdevicemedia.js"></script>