A wrapper around getUserMedia