Re: [mediacapture-screen-share] Event for screen sharing

> This could be ok with tab sharing but what about screen sharing,

When screen sharing starts, the event is fired on all the tabs that is visible or partially visible in this screen.

> and the browser tab moving from one screen to another that is shared/not shared.

Moving from a shared screen to another not shared screen fires this event, and vice versa.

> Also this would allow any page to observe what another page is doing which might have bad privacy/security side effects.

This event only fires on the tab being shared/not shared.

> There is a potential racing issue between this event and actual screen capture, which might make it a bit more difficult to implement correctly.

Agree. This would be a problem.

If we don't have the requirement to perform non-UI actions(e.g. pause a video) when screen sharing happens, a css property sounds like a good idea to solve this issue.

-- 
GitHub Notification of comment by jianjunz
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/83#issuecomment-439704848 using your GitHub account

Received on Sunday, 18 November 2018 16:19:24 UTC