Hi Dylan Olney
When you're using the internet at various locations, you experience different internet speeds. some factors can affect internet speed and reliability:
Because of this variability, it's important to test the network connection and settings of your machine. You can run a network diagnostic check by using the Azure Communication Services Network Diagnostic tool. This tool checks all the essential parameters to help you determine if the network connection at your local machine is compatible with Azure Communication Services. You can also run this tool on mobile devices. For more information about network quality, bandwidth, configuration, and optimization, see Network recommendations.
You can also take advantage of these features in Azure Communication Services:
- Enable logging via diagnostic settings in Azure Monitor. You can then view call insights in your Azure resource.
- Improve audio quality in poor network environments by using video constraints to reduce the bandwidth that users of video streams consume.
- Programmatically validate a client's readiness to join an Azure Communication Services call by using the Pre-Call API. You access this API through the Calling SDK. It provides multiple diagnostics, including device, connection, and call quality. This feature is currently available only for the web (JavaScript).
- Outbound calls terminating immediately
- Inspect Call End Codes Use server-side logs or ACS Call Diagnostics to examine
ParticipantEndReason
,ParticipantEndSubCode
, andResultCategories
for failures. For instance, a404
typically means “callee not found” while500
indicates a service error officegarageitpro.medium.com+15learn.microsoft.com+15learn.microsoft.com+15learn.microsoft.com+2stackoverflow.com+2github.com+2. - Enable detailed client-side logging:
Look for ICE/STUN negotiation errors or WebRTC signaling failures.setLogLevel('verbose'); setLogFunction((level, msg) => console.log(`[ACS][${level}] ${msg}`));
- SDK version 1.35.1-beta.1 added more detailed subcodes (e.g.,
71005
) for validation errors learn.microsoft.comgithub.com+1learn.microsoft.com+1. Upgrading or downgrading could reveal misconfigurations. - Network & ICE troubleshooting: Ensure proper STUN/TURN connectivity and no UDP port blocks. If NAT/firewall issues exist, ICE fallback may be slow or unsuccessful.
- Audio drops and frontend freezing mid-call
Known browser/device issues for audio loss:
- Desktop browsers may lose incoming audio due to Chromium bugs, which ACS now mitigates by reconnecting the PeerConnection learn.microsoft.com+1stackoverflow.com+1learn.microsoft.com.
- On mobile, especially Android Chrome, backgrounding the browser or locking the screen can mute audio; power-saving mode exacerbates this stackoverflow.com+3learn.microsoft.com+3learn.microsoft.com+3.
Freezing due to device interruptions or GPU exhaustion:
- On iOS Safari, backgrounding or interruptions (calls, Siri, YouTube) can cause freezing learn.microsoft.com.
- PCs may experience freezes if set to render video effects (e.g., background blur on Safari/macOS).
- Leaks in JS event handlers or media streams: Unreleased
call.on(...)
,deviceManager.on(...)
listeners or persistent media streams can gradually degrade memory and CPU.
If you have any further assistant, do let me know.