Update openface-demo.js
This commit is contained in:
parent
c2d3b2df05
commit
cff4f882f2
|
@ -236,13 +236,12 @@ function umSuccess(stream) {
|
|||
if (vid.mozCaptureStream) {
|
||||
vid.mozSrcObject = stream;
|
||||
} else {
|
||||
vid.src = (window.URL && window.URL.createObjectURL(stream)) ||
|
||||
stream;
|
||||
vid.srcObject = stream;
|
||||
}
|
||||
vid.play();
|
||||
vidReady = true;
|
||||
sendFrameLoop();
|
||||
}
|
||||
}
|
||||
|
||||
function addPersonCallback(el) {
|
||||
defaultPerson = people.length;
|
||||
|
|
Loading…
Reference in New Issue