设置当前摄像头的像素
webCamera.setResolution({
devIndex: 0,// 摄像头下标
width: 800,// 宽
height: 600// 高
}, function (data) {
console.log(data)// 设置成功回调
}, function (err) {
console.log(err)// 设置失败回调
})