getusermedia() does not work without https, your demo code uses http so it can't read from the microphine
getusermedia() does not work without https, your demo code uses http so it can't read from the microphine