Delay on Teams calls with recording bot enabled

Caio Rocha 5 Reputation points
2023-04-17T17:41:56.6466667+00:00

Hey guys I have a project, a Teams call recorder bot, I noticed that when placing the bot in the organization, it started a delay between 4s~6s for the call to start. Example: When I click the button to start the call it takes 4s~6s for the call notification to appear on the other end of the line. It happens regardless of whether we are in the web, desktop or mobile version, I know that Teams naturally doesn't take that long to make these calls, that the calls are almost instantaneous. When using recording bots within the organization in Teams, is it normal to have this delay in negotiation time when starting the call? This system of mine is running in a cloud hosted in Azure, I removed ngrok and is running with DNS.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
776 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,205 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.
2,996 questions
{count} vote

1 answer

Sort by: Most helpful
  1. 2023-04-20T03:44:57.39+00:00

    g a bot to record Teams calls, there can be some additional processing time required for the bot to start and connect to the call before it can start recording. This can cause a delay in the call initiation process. There are a few things you can try to reduce the delay:

    1. Optimize your bot's code to minimize the time it takes to start and connect to the call.
    2. Use a more powerful server to host your bot to ensure it can handle the workload.
    3. Check your network settings and ensure your bot has sufficient bandwidth to handle the call traffic.
    4. Consider using a third-party call recording solution that is specifically designed for Teams. Additionally, it's important to note that Microsoft Teams may have additional security measures in place, which can cause delays when connecting to a call. This is especially true for organizations with strict security policies. It's always a good idea to check with your organization's IT department to ensure there are no security measures that may be causing the delay.