“Media Capture from DOM Elements” document by W3C defines captureStream() method that allows the capture of the <canvas> element in the form of a MediaStream. We want to implement the necessary Blink and Chromium sections that would create this stream by accessing the canvas output according to the given frame rate constraints.
Docs: https://goo.gl/BFJY52
Samples: https://webrtc.github.io/samples/src/content/capture/canvas-pc/