Citrix Audio Diagnostics tool 1.0.3
For example: CtxAudioDiagnostics.exe -t 10 -o output.json (“-t 10” specifies a run duration of 10 seconds.)
Citrix Audio Diagnostics is a troubleshooting and monitoring tool.
Admins should use this tool to:
View audio related configurations
View redirected audio devices
Make a test call to diagnose audio quality
View audio performance metrics
Dump configurations for technical support
Audio issues during a DaaS/CVAD session can be caused by a variety of factors, including network connectivity, hardware problems, and configuration issues. This tool aims to help identify root causes in the Citrix environment and surrounding infrastructure. The Troubleshooting use cases provide ways to troubleshoot the most common audio issues seen.
Compatible VDA Versions (Multi and Single Session)
VDA 2203
VDA 2402 and later
Dependencies
This tool depends on Microsoft .NET Framework v4.7.2 and Citrix WMI libraries which are installed during VDA deployment.
Note: Please make sure that the diagnostic tool runs inside of a Citrix session by the end user and not in a RDP or console session by the admin on the VDA. Otherwise, you will get an error message that shows as “Non ICA (Citrix) session detected”.
Download the .zip file and extract the content to a folder on the VDA you are troubleshooting.
Launch the tool by double-clicking or executing.
The Audio Session tabs shows audio-related configurations for current user session.
The data is retrieved periodically, use the Refresh button to trigger an instant data refresh.
Each item has a clickable blue bubble for detailed explanation.
Some items have an expandable button on the right showing a box of the decision-making process.
For example, if a user wants to enable Loss tolerant mode for Audio (Edt-Lossy) for the current session, but the data transport remains EDT-Reliable, the user can see which dependencies are not satisfied for Edt-Lossy.
Summary of effective configurations for current session:
State information: Lists important audio configuration information for the current session.
Speakers & Microphones: Lists information on redirected audio devices for the current session.
1.2 Configuration
The Configuration page is the full set of audio-related settings, which is separated into six categories:
HDX Policy: List the HDX Adaptive Transport policy.
Audio Policy: Lists the configuration of the Citrix audio policies.
Multimedia Policy: Lists the configuration of the Citrix multimedia policies.
VDA Registry: Shows registry settings that have been modified from their default values.
VDA: Lists the VDA specific capabilities.
Citrix Workspace App: Lists the client-specific capabilities.
Use this functionality when the audio quality is degraded in order to have a subjective evaluation of audio quality to determine if this is an issue with the Citrix session or with the backend system.
Since applications can have preference of one API over the other and the two APIs have different performance under certain circumstances, we provide customers the capability to choose different audio APIs, recording channels and sample rates to make a test call.
How to test:
Choose the audio subsystem host, recording channels and Sample rate (most people should use the default).
Perform a test recording by clicking on “Make a test call”.
Record your voice for 10 seconds until you hear the second beep - recording is played back automatically.
The recording will generate an audio waveform, note that if no sound is detected, a blue line appears.
Recordings will be saved at <UserProfile>\AppData\Local\Citrix\ADT by default. Customers can change the saving folder by editing the setting.ini file in the Audio Diagnostics tool folder and modify the Workspace to your custom folder. Setting will be applied after the tool restart.
For example: Workspace=C:\Temp\MyRecordings
Results
Use this recording to try to determine the quality of the audio recording.
If audio is clear or improved, the issue might be with the backend system. Consult your vendor to expand your troubleshooting.
If the audio is degraded, there is an issue with the Citrix session.
Determine audio playback & recording transmit via client audio redirection or not (see Optimization for Microsoft Teams, Windows Media redirection)
Displays the audio devices used currently in the session and by what applications.
This is helpful to list which devices are being used for Client Audio Redirection, Microsoft Teams Optimization and Browser Content Redirection.
Click on the legends on the top right corner to hide/show the corresponding curve.
Customers can zoom in or zoom out the figure with the top right buttons.
Network Usage shows bi-direction network bandwidth measured used in the current audio session.
Bandwidth - Client to server
Displays the utilization audio recorded by the microphone.
Bandwidth - Server to client
Displays the utilization of audio playback on the VDA.
ICA RTT
Displays the current network round trip time.
Packet Loss - Client to server
Displays the packet loss percentage of audio recorded by the microphone.
Packet Loss - Server to client
Displays the packet loss percentage of audio playback on the VDA.
Click on the menu bar and select File -> Export Session, then choose a destination folder. The tool will package session information, saved recording files, and audio metrics into a compressed file. Others can explore the exported information by importing the compressed file.
Audio issues during a DaaS/CVAD session can be caused by a variety of factors, including network connectivity, hardware problems, and configuration issues.
The Audio Diagnostics tool can help you troubleshoot the following problems:
Audio issues while using softphone system
Use the Test Call functionality to determine if the issue is with the Citrix session or the third-party softphone system.
If the audio quality is good while playing the recorded file, the issue is related to the softphone system.
If the audio recording contains poor audio quality, perform the following steps:
Export the recorded wave file, audio session information and metrics data by click the menu Export Session, then send the zip package back to developers.
The developers could diagnose the issue based on session information, recording files and network status from audio metrics.
For more troubleshooting steps, see https://support.citrix.com/article/CTX133024/delivering-softphones-with-virtual-apps-and-desktops
For VDA versions prior to 2308, the Data Transport in the Audio Session may show as "Undefined"
Network usage and packet loss (both client-to-server and server-to-client) are unavailable for UDP audio.
Packet loss (both client-to-server and server-to-client) is also unavailable for TCP transport.
Please note:
You can download the required file from the Citrix downloads website by visiting the following link: https://www.citrix.com/downloads/citrix-tools