How to have audio/video in Microsoft Teams Tabs/Call App?

Armen Kakosyan 5 Reputation points
2024-01-16T08:06:24.79+00:00

I am trying to build a Microsoft Teams app, that will be either used inside the call or as a "Tab". In my application I am using user's audio/video and screen sharing. I have created an app as a Tab, but the permission are not there for the media devices. So those features are not working. Is there a way or a different integration type so I can have media devices available in my app. Here (link attached below) you can see that class has an integration within the call with audio/video. So I guess it should be possible. https://www.class.com/built-on-microsoft-teams/#form In my application I put an iframe in the html, which opens my app. I have used Micrososft Teams Tabs. Maybe the issue comes from an iframe.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,935 questions
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.
3,192 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andrew Connell 141 Reputation points MVP
    2024-01-16T23:15:21.85+00:00

    Teams tabs are already iframes… it’s loading a webpage in your the teams client. So if your web app also has an iframe, it’s iframing an iframe which I’m sure will have all sorts of issues. your teams app can request access to the camera and mic on the users machine as part of the manifest declaration. is there a reason why you can’t have you app use the permissions and device capabilities in teams?


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.