add error callback to getUserMedia