Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fire configurationchange event in case the track is changing of source #5

Open
youennf opened this issue Jun 16, 2022 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@youennf
Copy link

youennf commented Jun 16, 2022

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.

@eladalon1983
Copy link
Member

Are you thinking DisplayMediaStreamConstraints.surfaceSwitching here?

@youennf
Copy link
Author

youennf commented Jun 16, 2022

Right, although the spec already allows to change the track source even without surfaceSwitching.

@eladalon1983
Copy link
Member

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.

@jan-ivar jan-ivar added the enhancement New feature or request label Jan 23, 2024
@dontcallmedom dontcallmedom transferred this issue from w3c/mediacapture-screen-share Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants