getUserMedia is not supported by IE11, take a look on this link: https://caniuse.com/#search=getuserMedia
So if you are still wanted to use the core property of getUserMedia then you need to use polyfill. Take a look on this polyfilllink: https://github.com/addyosmani/getUserMedia.js