Polyfill for navigator.getUserMedia