- From: Michael Hyun via GitHub <sysbot+gh@w3.org>
- Date: Wed, 07 Feb 2024 22:59:51 +0000
- To: public-webrtc@w3.org
michhyun1 has just created a new issue for https://github.com/w3c/mediacapture-handle: == URL-based Screen Share Restriction? == I'm trying to implement URL-based allowlisting screen sharing using getDisplayMedia. I've seen the capture handle api, but that only passes the origin - I'm hoping to do the full URL. I'm trying to come up with a plan to do this, I could use some guidance. I saw this text blurb - https://github.com/w3c/mediacapture-handle/issues/52#:~:text=The%20stress%20here,specifically%20to%20it. "we can use [BroadcastChannel](https://html.spec.whatwg.org/multipage/web-messaging.html#broadcastchannel), a shared back-end, sometimes a service worker" How would this work? Would I set up a BroadcastChannel, which I would publish URL changes (from the captured side) and then listen for those changes on the capturing side? Please view or discuss this issue at https://github.com/w3c/mediacapture-handle/issues/73 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 7 February 2024 22:59:54 UTC