Imported the getUserMedia API to the lib.