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:
- Check for Proxy Configuration: Verify if a proxy is in use and ensure it is properly configured to handle WebRTC traffic.
- 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.
- 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.
- 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:
- Azure Cognitive Services - Speech Services
- Configure Network Security Groups
- Azure Private Endpoint
- Set up connection to real-time avatar
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.