How to capture call screens in Teams custom apps

Soga, Mitsuyoshi 81 Reputation points
2022-03-03T14:46:51.493+00:00

I want to create an app that saves the call screen as evidence with the Teams custom app.
When I Press the Capture button, I want to capture the screen of the member who has the video turned on in Teams.
Is there a way to capture the Teams camera when the button is pressed?

Thank you,

179690-teams-incallcapturesample.png

Microsoft Teams | Development
{count} votes

Accepted answer
  1. Nivedipa-MSFT 3,646 Reputation points Microsoft External Staff Moderator
    2022-03-10T13:43:33.8+00:00

    Using bot we can get the video and screen sharing content of meeting.
    Please refer below doc:
    https://learn.microsoft.com/en-us/microsoftteams/platform/bots/calls-and-meetings/calls-meetings-bots-overview.
    https://learn.microsoft.com/en-us/microsoftteams/platform/bots/calls-and-meetings/requirements-considerations-application-hosted-media-bots

    Refer below samples:
    https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/master/Samples/V1.0Samples/LocalMediaSamples

    Thanks,
    Nivedipa


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.