First, it would be interesting to consider adding support for the library internally within OpenFL. We support playback of video at the moment, but streaming video is something we would like to support.
Now, that said, there’s a few ways you can mix your own canvas element in.
Use the “dom” renderer, and you can add a new
openfl.display.DOMSprite with your own element. This could be your
CanvasElement, and you can mix it in the display list.
If you must render to a single canvas, then
BitmapData.fromCanvas might help, but I believe it may expect to do a single copy, once, and not continue to sync with the source canvas. There may also be ways to use
lime.graphics.ImageBuffer to create your own buffer (using
buffer.src = canvas), then a new
lime.graphics.Image using the buffer, then
BitmapData.fromImage to create a
BitmapData that way, which you can use in your code.
Please post if you have more questions, or run into bumps