Video in multiple windows: WebRTC Server in Main Process?


I am trying to play the same video file in multiple windows? I was thinking of setting up a WebRTC server in the main process to then stream the content to the different renderers. Has something like this been done before? Is it even possible to control a video in the main process? (play, pause, etc)


I solved the issue by sending canvas content to a WebRTC connection using canvas.captureStream(). The video will be slightly delayed and there is a bit of a performance penalty, but it possible.