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

[3.0] Audio muted when closing duplicated tab #20269

Closed
gabriellpr opened this issue May 15, 2024 · 1 comment
Closed

[3.0] Audio muted when closing duplicated tab #20269

gabriellpr opened this issue May 15, 2024 · 1 comment
Assignees
Milestone

Comments

@gabriellpr
Copy link
Collaborator

Describe the bug
When the user joins a meeting, duplicates the tab, and closes it, the audio gets muted on the main meeting.

To Reproduce
Steps to reproduce the behavior:

  1. Create a meeting
  2. Join audio, then duplicate the tab
  3. Close the opened tab
  4. The audio will be muted

Video
audioMutedDuplicatdTab

@gustavotrott
Copy link
Collaborator

It happens at this line:

AudioService.muteMicrophone(toggleVoice);

This action seems necessary to prevent capturing audio while the user confirms if they want to exit.

The idea is alright but it should perform some validations to ensure that the current tab is the one sharing audio and not a different tab of the same user.

  1. Verify if the audio component is currently sharing audio.
  2. If the current tab is confirmed to be sharing audio, send the mutation to mute itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants