Real-time Audio in Meetings Using a Bot

Kiet Chau 20 Reputation points
2025-02-20T10:17:39.0033333+00:00

Using Bot, can I get audio in Real Time Meeting?

If yes, how can I get it. Thanks.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
902 questions
0 comments No comments
{count} votes

Accepted answer
  1. Divyesh Govaerdhanan 1,915 Reputation points
    2025-02-20T17:06:04.13+00:00

    Hello,

    Welcome to Microsoft Q&A,

    Step 1: Use Microsoft Graph API for Teams Call Integration

    Example: Using Microsoft Graph API to Join a Call

    var
    

    Step 2: Enable Real-Time Media Streaming

    Example: Handling Audio Streams in a Bot

    public
    

    With this you will get the Audio stream of the team meeting, If you would like to convert this to text for transcription, You could use the Azure Speech service.

    Step 3: Stream Audio to Azure Speech Service

    • Route the extracted media stream to Azure Speech Service for transcription.
    • Reference: Azure Speech-to-Text

    Example: Sending Audio Stream to Speech-to-Text API

    using
    

    Step 4: Use Direct Line Speech for Enhanced Integration

    • If required, consider using Direct Line Speech to improve communication between the bot and Azure Speech Service.
    • Reference: Direct Line Speech Integration

    Example: Enabling Direct Line Speech for a Bot

    {
        "type": "directlinespeech",
        "serviceEndpoint": "https://directline.botframework.com/v3/directline"
    }
    

    As part of the next steps, to get your bot fully functional, deploy it using Azure Bot Service (Deploy a Teams Bot), ensure you grant the necessary Graph API permissions for calls and meetings (Graph API Permissions), and optimize audio processing for real-time transcription using Azure Speech Streaming API (Azure Speech Streaming API).

    Please Upvote and accept the answer if it helps!

    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.