modified parameter of getUserMedia for new spec.