Navigator.mediaDevices.getUserMedia 参考博文 let constraints = { //采集视频并对视频做出限制 video: { width: 500, height: 500 }, <