Teams mic button sometimes also enables speaker

Spring CT 31 Reputation points

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:

Clicking on this button shows this pop-up

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,974 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Yasmine Sakli 1 Reputation point

    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