Re: [mediacapture-screen-share] What is the purpose of MediaTrackCapabilities displaySurface? (#250)

This is to abide by the [constrainable pattern]( where capabilities give you the envelope of available inputs to applyConstraints, so this helps inform that this property is [inherent]( to the source and not changeable through applyConstraints.

> Note that it was added in

It's worth noting that at the time of that PR the source couldn't change. Now that we allow source switching in screen-capture, we should check whether this conflicts with mediacapture-main at all:

From a cursory glance, it looks OK to me: The description of [capabilities]( says _"Source capabilities are effectively constant. Applications should be able to depend on a specific source having the same capabilities for any browsing session."_

This ties capabilities as constant to the source, which I think can be read to support them changing when the source changes. So we may be good here and not require any new spec language.

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Tuesday, 25 October 2022 19:05:44 UTC