javascript - How to stream a canvas element in WebRtc? -


i searching webrtc , found great project on github:

https://github.com/mexx91/basicvideortc

the communication between 2 cameras works great using node.js.

it's possible before stream getusermedia modify in canvas element , stream object?

thanks

it seems not possible in cross-browser compatible fashion.

but may in future, can take glimpse @ htmlcanvaselement.capturestream interface implemented recent firefox browsers, see https://developer.mozilla.org/en-us/docs/web/api/htmlcanvaselement/capturestream .

it allows capture content of canvas stream can send wia webrtc peer then.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -