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(video-demo): ensure default device is selected #1146

Merged
merged 2 commits into from
Oct 16, 2023
Merged

Conversation

oliverlaz
Copy link
Member

Overview

Ensure that a default video/audio device is selected.

Sometimes, the browsers may report a new deviceId for an already known device. Once that happens, our previously stored device preferences can't be respected, and we fall back on selecting the first device on the list.
This aligns with the behavior implemented in the React SDK-provided call controls.

@oliverlaz oliverlaz merged commit d220d4e into main Oct 16, 2023
11 checks passed
@oliverlaz oliverlaz deleted the default-device branch October 16, 2023 14:06
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.

1 participant