I was searching about WebRtc and I found this great project on GitHub:
https://github.com/mexx91/basicVideoRTC
The communication between 2 cameras works great using node.js.
It's possible to before stream a getuserMedia modify it in a canvas element and so stream this object?
Thanks
It seems currently this is not possible in a cross-browser compatible fashion.
But it may be in the future, you can take a glimpse at the HTMLCanvasElement.captureStream
interface as implemented by recent Firefox browsers, see https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/captureStream .
It allows you to capture the content of a canvas to a stream that can be send wia WebRTC to your peer then.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With