stev...@hotmail.com
unread,Feb 14, 2024, 10:44:08 PM2/14/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, Oliver Dunk, Chromium Extensions, stev...@hotmail.com
Hi Oliver,
Thank you for the response.
Yes, it is because the chrome api desktopCapture is not usable inside an offscreen document. I make the request for the stream id in the service worker and send it to the offscreen doc, similar to the tabCapture api.
Thank you for considering this update. I have already had users say the extension is broken because they failed to select media to share via the dialog.
An alternative could be to improve the web API navigator.mediaDevices.getDisplayMedia so it has the usability improvements that desktopCapture has.
Sure, Chrome Capture and Reelia are two of my screen capturing extensions:
I just updated Chrome Capture to MV3.
For context/example of how this is used:
A user will select the record "full screen or app" option from the extension pop-up. I then close the popup and open the getDisplayMedia dialog for a user to select what to record/share. If the user has multiple monitors, the dialog may not open on the monitor they are currently interacting with. This causes confusion and until the user interacts with the dialog all recording is broken - including using tabCapture.
Cheers,
Steven.