update code to add mozMediaSource constraint