-
Notifications
You must be signed in to change notification settings - Fork 72
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
[Bugfix] Microphone lobby fix #3896
Conversation
Calling bundle size is decreased✅.
|
Chat bundle size is decreased✅.
|
CallWithChat bundle size is decreased✅.
|
@azure/communication-react jest test coverage for stable.
|
@azure/communication-react jest test coverage for beta.
|
packages/react-composites/src/composites/CallComposite/components/buttons/Microphone.tsx
Outdated
Show resolved
Hide resolved
Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot. |
packages/react-composites/src/composites/CallComposite/components/buttons/Microphone.tsx
Outdated
Show resolved
Hide resolved
…com/Azure/communication-ui-library into dmceachernmsft/microphone-lobby-fix
@@ -41,8 +41,7 @@ export const Microphone = (props: { | |||
* When call is in Lobby, microphone button should be disabled. | |||
* This is due to to headless limitation where a call can not be muted/unmuted in lobby. | |||
*/ | |||
if (_isInLobbyOrConnecting(callStatus)) { | |||
microphoneButtonProps.disabled = true; | |||
if (callStatus === 'Connecting') { | |||
// Lobby page should show the microphone status that was set on the local preview/configuration | |||
// page until the user successfully joins the call. | |||
microphoneButtonProps.checked = isLocalMicrophoneEnabled; |
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.
Not related to this PR but getLocalMicrophoneEnabled
selector should be changed to getLocalMicrophoneOn
or something. The verb 'enabled' makes it sound like it should decide if the button is enabled/disabled.
What
Update disabled state to make sure that the lobby state allows for muting and unmuting
Why
Gives the user more control on the lobby screen
https://skype.visualstudio.com/SPOOL/_workitems/edit/3520938
How Tested
Validating locally