Troubleshooting WebRTC Disconnection in Avatar Service

santoshkc 8,940 Reputation points Microsoft Vendor
2024-07-31T09:07:14.6733333+00:00

What could be causing the disconnection issue when trying to start an avatar using WebRTC in Azure Cognitive Services-Speech Services, and how can it be resolved?

PS - Based on common issues that we have seen from customers and other sources, we are posting these questions to help the Azure community.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,735 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. santoshkc 8,940 Reputation points Microsoft Vendor
    2024-07-31T09:10:04.6633333+00:00

    Greetings!

    The issue of the avatar not starting and experiencing disconnections when using WebRTC in Azure Cognitive Services-Speech Services can often be related to network configuration issues. Specifically, if a proxy or a Public Endpoint (PE) is involved, it might be causing the disconnection. The steps to diagnose and resolve this issue include:

    1. Check for Proxy Configuration: Verify if a proxy is in use and ensure it is properly configured to handle WebRTC traffic.
    2. Public Endpoint and IP Whitelisting: Ensure that the public IP addresses used by the Avatar service are whitelisted. This can mitigate issues caused by network restrictions or firewalls.
    3. Private Endpoint Configuration: If using a Private Endpoint, ensure that it is correctly configured. This includes proper Network Security Group (NSG) settings to allow the necessary traffic.
    4. Network Diagnostics: Utilize network diagnostic tools to confirm that the client's network setup does not have any issues blocking the WebRTC connection.

    By addressing these configurations, the avatar service should be able to connect without disconnection issues.

    Resources:

    Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.

    Please do not forget to "up-vote" wherever the information provided helps you, as this can be beneficial to other community members.

    0 comments No comments

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.