-
Notifications
You must be signed in to change notification settings - Fork 509
fix(media): rewrite media preferences functions #12108
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
Conversation
cd52f2a to
4cc32e9
Compare
DorraJaouad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part 1
8546bc8 to
177180d
Compare
177180d to
ae1da64
Compare
|
If I reload after accepting permissions it seems to be working properly |
- fix registering only last device when populate with several - fix selecting last available device in list when join (instead of last used | first available) - move console.log from function for testing purposes - add types, enum, refactor functions - drop 'promote' option as unused (we register promoted device in another place) Signed-off-by: Maksim Sukharev <[email protected]>
… id logic Signed-off-by: Maksim Sukharev <[email protected]>
Signed-off-by: Maksim Sukharev <[email protected]>
ae1da64 to
168280d
Compare
DorraJaouad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in different senarios, ✅
When user selects nothing (None) , preferences won't be applied anymore as we expect the user doesn't want to have any device set anymore.
When user manually selects in preview and without joining call, we assume was just experimenting devices and we do not update preferences.
|
/backport to stable29 |

☑️ Resolves
🖌️ UI Checklist
🚧 Tasks
🏁 Checklist