Update the API getUserMedia with more options.