Open youennf opened 2 years ago
Are you thinking DisplayMediaStreamConstraints.surfaceSwitching here?
Right, although the spec already allows to change the track source even without surfaceSwitching.
Right, although the spec already allows to change the track source even without surfaceSwitching.
Yes, surfaceSwitching is just a way for the application to hint to the user agent as to whether it wants such a mechanism to be exposed to the user.
Firing an event of some sort seems very useful indeed.
It seems potentially useful to fire the configurationchange event (defined in mediacapture-extensions) when the source of the track is changing. This may help the web app look at the surface type and other meaningful parameters.