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
Post a Comment