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

Add test for MediaStreamTrack constraints #2102

Open
dontcallmedom opened this issue Jan 29, 2025 · 0 comments
Open

Add test for MediaStreamTrack constraints #2102

dontcallmedom opened this issue Jan 29, 2025 · 0 comments
Assignees

Comments

@dontcallmedom
Copy link

MediaStreamTrackConstraints are defined in a dictionary, so by default don't get detected by the collector, although they clearly change the interoperability surface.

A simple way to detect whether a browser supports a given constraint is to see if the key exists in the navigator.mediaDevices.getSupportedConstraints()

@queengooborg queengooborg self-assigned this Jan 29, 2025
@queengooborg queengooborg changed the title Add test for MediaStreamTrackConstraints Add test for MediaStreamTrack constraints Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants