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

There's no proposal to use Observers so ยง7.8 seems irrelevant. Even if it were relevant, it says to prefer events, since [CaptureController](https://w3c.github.io/mediacapture-screen-share/#dom-capturecontroller) is already an EventTarget.

> ... multiple event handlers would be problematic if the first stops the track and the second handler receives a stopped track.

Nothing wrong with that.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/255#issuecomment-1817119942 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 21:19:07 UTC