Long-term goal here, but one use-case is to use the editor for streaming a video feed that can be consumed by OBS or some other visual software. The immediate solution is to customize the color scheme such that the editor background can easily be removed via chroma keying, but with Electron, we should be able to do better.
The outline of a solution:
In addition to main editor window, spawn a second browser window with offscreen: true and with a transparent background.
Mirror all contents and interactions from the main editor window to the second window. This is essentially the mechanism that collaborative editing would use, and setting up a version that makes a trip from the renderer process to main process and then to a second renderer seems pretty straightforward.
Render the offscreen window to a series of video frames, and then stream those frame to some sort of video feed that OBS, Touch Designer, WebRTC, etc, etc can consume? This is the piece that will require the most research on my part
Long-term goal here, but one use-case is to use the editor for streaming a video feed that can be consumed by OBS or some other visual software. The immediate solution is to customize the color scheme such that the editor background can easily be removed via chroma keying, but with Electron, we should be able to do better.
The outline of a solution:
offscreen: true
and with a transparent background.