Teams mic button sometimes also enables speaker

Spring CT 31 Reputation points
2022-04-15T13:45:43.98+00:00

We are developing an MS-Teams in-meeting tab-app [Side panel].
The app is supposed to selectively block incoming audio using toggleIncomingClientAudio() .
However, if the user has muted themselves the mic button changes to speaker button as below:
193501-mic-inmeetingwhen-interpreter-mic-is-unmuted.png

Clicking on this button shows this pop-up
193410-popup.png

If the user clicks the turn-on button, both the speaker and mic gets enabled.
This enables incoming audio again (which we had blocked earlier).
Is there a way to prevent this ?

This question is on similar lines but the use case is different than ours.

We could try blocking audio again, but we couldn't find a way to listen to mute/unmute status of teams.

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,822 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Yasmine Sakli 1 Reputation point
    2022-05-12T08:25:16.497+00:00

    This problem only If you use two devices at the same time in the teams You have a solution if you use two different accounts in the same meeting For me to avoid this problem I open teams on the pc Before Phone Teams

    0 comments No comments