How to pass canvas stream to another window since createObjectURL is deprecated?
问题 I'm building a very specific project that has the following: A main window with a canvas element. A second window opened from the main one (window.open(...)) which gets a webcam stream and draws it on a canvas. I need to draw the same canvas, realtime, on the canvas in the main window. What I am doing now is on my second window, I do window.URL.createObjectURL(canvasStream) which gives me a blob url I can use in the main window to get the feed and draw it back on the main canvas. This all