getUserMedia improvement