Example of HTML5 getUserMedia API