Pass constraints into promise
get ready to use getUserMedia library