Integrating third-party app with Teams (mute/unmute microphone)

Wojciech Marcela 0 Reputation points
2024-10-22T14:58:02.6466667+00:00

I would like to add a simple feature to my application. It should allow the user to mute/unmute the microphone and toggle the camera on/off by clicking a button in the app. I have spent hours searching through various Microsoft documentations (Microsoft GRAP API or microsoft/teams-js), but I haven't been able to find a solution.
In GRAPH API I found Call:mute field, but it doesn't look like a proper solution.

Moreover in teams-js TypeScript definition file I found a namespace meetingRoom, which is present in teams-js documentation, but unfortunately it's empty...

Image

Could you please tell me which API or workflow I should use to achieve this?

Thank you in advance!

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,202 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.