Replaced navigator.getusermedia