<video src="" id="vvv"></video>
<canvas></canvas>
var video = document.getElementById("vvv");
navigator.getUserMedia({video:true}, function (stream) {
video.src = window.webkitURL.createObjectURL(stream);
}, function (error) { alert(error); });
setInterval(function () {
},16)
网友评论