If you use Azure Virtual Desktop environments, Flex on Azure Virtual Desktop provides the ability to run Flex while maintaining optimal call quality. Flex UI 2.8.5 and later improves audio quality by supporting Azure Virtual Desktop MMR.
This feature relies on Microsoft's multimedia redirection (MMR) for Azure Virtual Desktop, which is a browser extension.
The Microsoft MMR extension helps your agents avoid potential latency, packet loss, and lengthy round-trip time that would otherwise occur when using Flex on Azure Virtual Desktop. When agents use Flex on Azure Virtual Desktop with the MMR extension installed, Flex uses the WebRTC credentials from the browser on the local device, not the browser in Azure Virtual Desktop. That means that audio packets go directly from the customer to the Flex telephony server to the agent using Flex. Without the MMR extension, audio packets are routed to the Azure Virtual Desktop browser before reaching the agent in Flex, and that extra step in the path can cause issues with call quality.
The following are system requirements for the Azure Virtual Desktop server and remote device.
To set up Flex on Azure Virtual Desktop, complete the following steps:
Self-hosted Flex only: Upgrade the Flex UI library to a version that supports Azure Virtual Desktop:
npm install @twilio/flex-ui@2.8.5
Validate the Azure Virtual Desktop setup to ensure that Flex will automatically detect if you're running in a Virtual Desktop environment:
If MMR does not show that the call is being redirected, see The MMR extension is not loaded in the troubleshooting section.
Voice Over Internet Protocol (VoIP) call quality is influenced by environmental factors, such as:
It's important you review our deployment best practices and connectivity requirements documentation before taking your app to production. Browsers that support DSCP are able to tag call media packets sent by the voice client. Your router or network element can then use these tags to prioritize call media packets over other traffic on the network.
To capture logs from the MMR extension, open the MMR extension in your browser and select Show Advanced Settings. Next to Collect logs, click Start.
If you followed step 4 to validate the Azure Virtual Desktop setup in Set up Flex on Azure Virtual Desktop and the MMR extension is not loaded, check the following:
If you have checked your environment and configuration and still have issues, contact Twilio support.
Microsoft and Twilio jointly support the delivery of Flex on Azure Virtual Desktop. If you experience an issue with Flex on Azure Virtual Desktop, open a support ticket with the vendor whose product you suspect to be causing the issue.
When Twilio or Microsoft receives the ticket, they will triage the issue and escalate it as appropriate. If they determine that the problem is caused by the other company's product, they will advise you to create a support ticket with the other company.