Added parameter to change getUserMedia constraints

Change-Id: I5afa55075be3322bae5cc9c5e4ca33fc9c5ef4eb