Re: [mediacapture-screen-share-extensions] Auto-pause for Captured Surface Switching (2nd edition) (#15)

> I like the more explicit `pauseOnSurfaceSwitching`.

I think this specificity is great; otherwise, one might expect it to trigger on navigation too.

> This seems like a foot gun, 

Why is it a footgun?

> and violates [Media Capture and Streams](https://w3c.github.io/mediacapture-main/getusermedia.html#track-enabled) which designates muted for UA control, and leaves enabled "available to the application to control".

I don't think that's a contradiction here. If the UA were to set `enabled` to **`true`**, that would be horrible. But setting it to `false` under clear circumstances, seems like a great way to manipulate the track in a self-consistent manner that meshes well with other API surfaces and parts of the spec. The alternatives all call for additional complexity.

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


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

Received on Thursday, 24 October 2024 09:35:05 UTC