I'm developing a XPCOM C++ add-on which should be able to capture video
frames from a camera and render them on a <canvas> object passed by a user
from Javascript web application. I was looking at
DOMMediaStream<http://dxr.mozilla.org/mozilla-central/source/content/media/DOMMediaStream.h>
object
for that (which has XPCOM
nsIDOMMediaStream<http://dxr.mozilla.org/mozilla-central/source/dom/media/nsIDOMMediaStream.idl>
interface,
though doesn't seem very helpful)
Is there a way to hook into the DOMMediaStream object in order to setup
listeners for retrieving raw frames? Likewise, is there a way to feed
frames to DOMMediaStream so it can render them on a connected canvas?

Thanks in advance,

-- 
Peter Gusev
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to