Re:HTML5 webcam to canvas stream (Demo + annotated code)
by program on Wednesday September 19, 2012 @04:51AM
(#4542740)
I got nice quality on Chrome 21. Substitute the window.requestAnimationFrame directive with:
and it will work in Opera 12 too.
[ Parent
| on HN ]
Re:HTML5 webcam to canvas stream (Demo + annotated code)
by cbrandolino_ on Wednesday September 19, 2012 @04:58AM
(#4542755)
Wow, I was sure they implemented requestAnimationFrame already!
Anyway, I limited myself to trying out the various vendors' prefixes; this being mainly an experiment/preview I'd rather keep the code clean than support non-cutting-edge browsers.
I'll update the paragraph about the compatibility though; thanks for the heads up!