Re: [mediacapture-screen-share] Auto-pause capture when user switches captured content (#255)

> E.g. what happens if the callback is set after getDisplayMedia? Does it race, or does the UX update?

setCallback() throws if CaptureController.[[[IsBound]]](https://www.w3.org/TR/screen-capture/#dfn-isbound). This is desirable behavior that can be achieved with a callback, but would be surprising with an event listener.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 17 November 2023 09:24:22 UTC