added audio and video constraint