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

fix(rtc) use exact deviceId constraints #2499

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Conversation

saghul
Copy link
Member

@saghul saghul commented Apr 5, 2024

webrtc-adapter transforms "deviceId": "foo" to "deviceId": { ideal: "foo"}.

This makes the camera non-selectable if the resolution constraints are not met.

Setting the constraint to exact will sidestep that adapter behavior, and express stronger intent.

webrtc-adapter transforms "deviceId": "foo" to "deviceId": { ideal:
"foo"}.

This makes the camera non-selectable if the resolution constraints are
not met.

Setting the constraint to exact will sidestep that adapter behavior, and
express stronger intent.
@saghul saghul requested a review from jallamsetty1 April 5, 2024 15:27
@saghul
Copy link
Member Author

saghul commented Apr 5, 2024

Caveat emptor: I'm not 100% certain this won't introduce problems with all browsers, so I suggest a "merge, test in beta, revert if problematic" approach.

@saghul saghul merged commit b59b8cb into jitsi:master Apr 5, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants