In your React web application using Azure Communication Services (ACS) SDK, it seems you are encountering network issues despite having a high bandwidth of 200 Mbps. The User Facing Diagnostics (UFD) events you are logging, such as networkReconnect, networkReceiveQuality, and serverConnection, are crucial for diagnosing these connectivity problems.
- Understanding UFD Events: The
serverConnectiondiagnostic flag indicates whether the connection to the server is active or not. A value offalsesuggests that there is a connectivity issue, whiletrueindicates a good connection. Monitoring these flags can help you identify when participants are experiencing network issues. - Network Quality Events: The
networkReceiveQualityUFD event can also provide insights into incoming stream quality. If this event logs aBadvalue, it indicates network quality issues that may lead to degraded audio or video quality for participants. - Handling Network Issues: To manage these network issues effectively, ensure that your application subscribes to these UFD events and provides feedback to users. For example, if a
networkReconnectevent is triggered with aBadvalue, you might want to display a message to the user indicating that there are network issues affecting the call quality. - Reconnection Logic: The ACS SDK will attempt to reconnect automatically when it detects network issues. However, it’s important to inform users of the potential impact on their call experience during this reconnection phase.
- Further Troubleshooting: If the issues persist, consider investigating the network topology and infrastructure, as the SDK considers network issues as external problems. Understanding the network environment may reveal underlying issues that need to be addressed.
By utilizing the UFD events effectively and providing user feedback, you can enhance the user experience during audio/video calls even when network issues arise.