EDL main window should be a popup instead of a tab
kdzwinel opened this issue · comments
EDL complements your primary dev window
so it probably should be a popup instead of a tab
@paulirish Unfortunately:
https://developer.chrome.com/extensions/tabCapture#method-capture
Capture is maintained across page navigations within the tab, and stops when the tab is closed, or the media stream is closed by the extension.
As soon as popup gets closed Chrome kills the stream and you have to re-request it via "Stream to EDL" 😢
That's also why after reloading EDL tab all streams are lost.
Hmm.. but when clicking the EDL icon, why not launch a new popup for EDL instead of a new tab. I dont see why it'd matter to the capture api
no like a popup window. window.open() style :)