Forum Discussion
Teams Media Meeting bot POC
I'm trying to build a research poc to test MS solutions ability to carry out user sentiment analysis from live video streams - i.e. from Teams.
Full disclosure - I'm very willing and have spent a lot of time on desktop research etc - but im not a developer, so have limited skills or experience here. So any advice very much welcomed!
I have seen that there is an MS solution for meeting bots (application-hosted, or service-hosted) that might be able to help me gather the live video from Teams.
- Does anyone have any experience of these meeting bots - I would like to know more and if suitable, stand one up to assess it.
Happy of course to provide more info if that would help, let me know.
2 Replies
- MarkThomas25Copper Contributor
Nivedipa is spot on with the challenges here. You can find open sourced versions for scraping transcripts from a Teams meeting if you just need what was said and by whom for sentiment analysis. If you actually do need the live video, you'd need to extend these to also capture video which would require significantly higher engineering effort to have a bot record and then process the recordings.
The way that most open sourced repos approach having a bot join a call would result in you having mixed video and mixed audio instead of separate streams per speaker. Getting separate video streams requires using the Microsoft Graph Cloud Communications API with an application-hosted media bot, C#/.NET development, Azure VMs for hosting, and tenant admin consent for special Graph permissions.
While you must use the Microsoft Graph API if you are building your own bot that can access live video through native APIs, you might want to check out a third party solution like Recall.ai's [MS Teams Meeting Bot API](https://www.recall.ai/product/meeting-bot-api/microsoft-teams?utm_source=msteamsforum&utm_medium=forum_answer) which is paid, but is super easy and quick to build with (plus there are some free credits when you sign up which you could use to test). It allows you to get live video streams from meeting platforms (like Teams), but doesn't require the initial build or ongoing maintenance that creating your own integration entails. - Nivedipa-MSFT
Microsoft
@GLEKA -
- Live video streams in Teams can only be accessed through a service-hosted media bot that uses the Microsoft Graph Cloud Communications API.
- This is a complex setup: It involves Azure resources, C# development skills, and a solid understanding of Teams and media processing.
- Permissions are tightly controlled: The bot must be registered as a compliance recording or media processing app, and special Graph permissions require admin consent.
- Not supported for standard bots: Regular Teams bots built with the Bot Framework SDK can only access text and file attachments, not live audio or video streams.
References:
Choose a media hosting option by using the cloud communications API - Microsoft Graph | Microsoft Learn
Cloud communications API overview - Microsoft Graph | Microsoft Learn
Sample code: Teams Recording Bot
Thanks,
Nivedipa
----------------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.