Introducing Azure Communication Services Call Diagnostics feature for web applications!
Introducing Azure Communication Services Call Diagnostics feature for web applications!
Today we are happy to announce that the Call Diagnostics feature is available in ACS web Calling SDK to help you to build applications with improved management of in-call experience quality. Many factors can influence the call quality: poor network, hardware issues, low volume, OS and permission errors, freezes, etc. You, as a developer, might not know about a specific issue affecting specific call quality or reliability. Microsoft constantly monitors and analyses technical parameters of calls and exposes hints within API. You can use the tips to provide a better experience to your users. For example, you can suggest in UI (or force) to turn off the camera if bandwidth is not enough for both audio and video simultaneously. Or tip the user that they speak while being muted. The SDK does not have access, collect or analyze any personal data.
Here are the diagnostics the Azure Communications Services JS SDK exposes:
- Someone is on the video call and can’t see or hear the other party.
- Someone is speaking while being muted.
- Someone is experiencing bad video quality.
- If your device is not connected to a network.
- If during a call the WiFi signal goes on and off.
- Low bandwidth, no internet connection.
- All speakers are unplugged.
- All microphones are unplugged.
- Camera, microphone, speaker failures.
- Permission’s errors.
Let go deeper to the Call Diagnostic APIs, which supports two types of modalities:
- Media (audio, video, screen-sharing). Examples: noSpeakerDevicesEnumerated, speakingWhileMicrophoneIsMuted, noMicrophoneDevicesEnumerated, cameraFreeze, cameraStartFailed, cameraStartTimedOut, microphoneNotFunctioning, microphoneMuteUnexpectedly, screenshareRecordingDisabled, microphonePermissionDenied, cameraPermissionDenied.
- Network (everything related to user’s network). Examples: noNetwork, networkRelaysNotReachable, networkReconnect, networkReceiveQuality.
The exhaustive list of available call diagnostics per each group could be found in our documentation - Call diagnostics.
Call diagnostics is an extended feature of the core Call API. It's very simple to add the Call diagnostic feature to your app:
Now all you need to do is subscribe to an event listener and once the diagnostic has been received, you will get a call-back.
For more details on implementation please go to official documentation - Call diagnostics.
If you don’t have an active web application, you can download the web sample with already built-in diagnostics from our GitHub and run it.
Supported platforms
Call Diagnostics feature is available in JS Calling SDK starting 1.2.0-beta.1 and supported on the following desktop and mobile browsers:
- Safari
- Edge
- Chrome
The User Facing diagnostics for other platforms (iOS, Android, Windows) are on roadmap
Price
There is no additional fee for call diagnostics.
Getting started
Check out our getting started guides:
- Create a Communication Services resource
- Create and manage user access tokens
- Add video calling to your app
Give us your feedback
Your feedback is our main factor in prioritizing work items. Please share your ideas, opinions, and suggestions on our GitHub. We appreciate your help!
Published on:
Learn moreRelated posts
🚀 Introducing the New VS Code Extension for Azure Cosmos DB
We’re excited to share that the Azure Databases extension for Visual Studio Code is now officially rebranded as the Azure Cosmos DB extension!...
AI-based T-SQL Refactoring: an automatic intelligent code optimization with Azure OpenAI
This article presents an AI-powered approach to automating SQL Server code analysis and refactoring. The system intelligently identifies ineff...
Azure Boards integration with GitHub Copilot (Private Preview)
Several months ago, GitHub introduced the public preview of its Copilot coding agent, a powerful new capability that allows you to assign GitH...
What is Azure Key Vault and How It Secures Microsoft Dynamics 365 CRM Systems?
Azure Key Vault is a service by Microsoft Azure that helps securely store and manage sensitive information such as API keys, connection string...
Azure AI Foundry Model In Copilot Studio Custom Prompts
Any custom model created in Azure AI Foundry can be used in Copilot Studio. This ... The post Azure AI Foundry Model In Copilot Studio Custom ...
Running Teams PowerShell Cmdlets in Azure Automation
This article describes the prerequisites and how to run cmdlets from the Teams PowerShell module in Azure Automation runbooks. We also conside...
Azure Storage APIs gain Entra ID and RBAC support
To align with security best practices, Microsoft Entra ID and RBAC support is now generally available for several Azure Storage data plane API...
Introducing the Azure Cosmos DB Account Overview Hub
A Simpler Way to Navigate, Learn, and Optimize your Azure Cosmos DB Account within the Azure Portal. Whether you are just getting started with...