Citrix Optimization For Microsoft Teams



Praim allows to quickly use the Microsoft Teams app enhancements in Citrix simply by pointing ThinOX to an updated Citrix 20.10 client. And thanks to Praim ThinMan you can easily configure thousands of remote devices to use Microsoft Teams optimization in a few clicks. What Citrix HDX optimisation for Microsoft Teams could mean for your organisation. The answer lies with the roll out of Citrix HDX optimisation; an industry first that promises to optimise the delivery of Microsoft Teams (a minimum of version 1.2.00.31357) for virtual environments.

  1. Citrix HDX Optimization for Microsoft Teams. With the release of HDX optimization for Microsoft Teams, customers will get a fully native, fully featured Microsoft Teams experience within Citrix Virtual Apps and Desktops. With a single point of authentication, this essentially also improves reliability and ease of use. The Citrix Workspace app.
  2. Microsoft Teams optimization on Citrix Microsoft Teams redirection is an efficient method for saving VDI/SBC resources. This however only works for the desktop based (a.k.a. Fat-client) Microsoft Teams 1.2.00.31357 in combination with the Citrix Workspace client on the local user desktop.
  3. MS Teams - Citrix Optimization We are testing the new MS Citrix Optimization pack and it's working great! We did notice a different video meeting behavior when using MS Teams in Citrix vs. Standard laptop.

Learn how to use Microsoft Teams Optimization for Citrix. Citrix Virtual Apps and Desktops, along with Citrix SD-WAN, can optimize Microsoft Teams and provide a great user experience.

Now organizations can centrally deploy Microsoft Teams within their virtual environments and deliver a fully-featured Microsoft Teams experience, but also giving IT admins the benefits of centralized management.

Optimization

Citrix delivers optimization for desktop-based Microsoft Teams using Citrix Virtual Apps and Desktops and Citrix Workspace app. By default, we bundle all the necessary components into Citrix Workspace app and the Virtual Delivery Agent (VDA). ( Microsoft Teams Optimization with Citrix )

Our optimization for Microsoft Teams contains VDA-side HDX services and API to interface with the Microsoft Teams hosted app to receive commands. These components open a control virtual channel (CTXMTOP) to the Citrix Workspace app-side media engine. The endpoint decodes and renders the multimedia locally. Reverse seamless snaps-in the local Citrix Workspace app window back into the hosted Microsoft Teams app.

Citrix Optimization For Microsoft Teams

Authentication and signaling occurs natively on the Microsoft Teams-hosted app, just like the other Microsoft Teams services (for example chat or collaboration). Audio/video redirection doesn’t affect them.

CTXMTOP is a command and control virtual channel. That means that media is not exchanged between the Citrix Workspace app and the VDA.

Only Client-fetch/client-render is available.

Optimization

Microsoft Teams installation

To start using Microsoft Teams Optimization for Citrix. Citrix recommends you to follow the Microsoft Teams machine-wide installation guidelines and avoid using the .exe installer that installs Teams in Appdata. Instead, install in C:Program Files (x86)MicrosoftTeams by using the ALLUSER=1 flag from the command line. In this mode, the Teams application doesn’t auto-update whenever there is a new version. We recommend this mode for non-persistent environments. For more information, see Install Microsoft Teams using MSI (VDI Installation section).

If you have dedicated persistent VDI environments and you want the Teams application to auto-update and would prefer Teams to install per-user under Appdata/Local, use the .exe installer or the MSI without ALLUSER =1.

If using Citrix App Layering to manage VDA and Microsoft Teams installations in different layers, deploy this registry key on Windows before installing Teams with ALLUSER =1:

HKEY_LOCAL_MACHINESOFTWARECitrix

Or

HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeCitrix

Create an empty registry key named PortICA (leave the default Name, Type, and Data).

Profile Management recommendations

When the ALLUSER =1 flag is passed to the MSI from the command line, the Teams app installs under C:Program Files (~300 MB). The app uses AppDataLocal for logs and AppDataRoamingMicrosoftTeams for user specific configurations, caching of elements in the user interface, and so forth.

System requirements

Minimum version – Delivery Controller (DDCs) 1906.2:

Supported operating systems:

  • Windows Server 2019, 2016, 2012R2 Standard and Datacenter Editions, and with the Server Core option

Minimum version – Virtual Delivery Agents (VDAs) 1906.2:

Supported operating systems:

  • Windows 10 64-bit, minimum versions 1607 up to 1909.
  • Windows Server 2019, 2016, and 2012 R2 (Standard and Datacenter Editions).

Requirements:

Citrix Hdx Optimization For Microsoft Teams

  • BCR_x64.msi – the MSI that contains the Microsoft Teams optimization code and starts automatically from the GUI. If you’re using the command line interface for the VDA installation, don’t exclude it.

Recommended version – Citrix Workspace app 2002 for Windows and Minimum version – Citrix Workspace app 1907 for Windows:

  • Windows 7, 8, and 10 (32-bit and 64-bit editions, including Embedded editions)
  • Windows 10 IoT Enterprise 2016 LTSB (v1607) and 2019 LTSC (v1809)
  • Endpoint requirement: Approximately 2.2–2.4 GHz dual core CPU that can support 720p HD resolution during a peer-to-peer video conference call.
  • Dual or quad-core CPUs with lower base speeds (~1.5 GHz) equipped with Intel Turbo Boost or AMD Turbo Core that can boost up to at least 2.4 GHz.
  • HP Thin Clients verified: t630/t640, t730/t740, mt44/mt45.
  • Dell Thin Clients verified: 5070, 5470 Mobile TC.
  • 10ZiG Thin Clients verified: 4510 and 5810q.
  • For a complete list of verified endpoints, see Thin Clients.
  • Citrix Workspace app requires a minimum of 600 MB free disk space and 1 GB RAM.
  • Microsoft .NET Framework minimum requirement is version 4.6.2. Citrix Workspace app automatically downloads and installs .NET Framework if it is not present in the system.

Enable optimization of Microsoft Teams

To enable optimization for Microsoft Teams, use the Studio policy described in Microsoft Teams redirection policy (it is ON by default). In addition to this policy being enabled, HDX checks to verify that the version of Citrix Workspace app is equal to or greater than the minimum required version. If you enabled the policy and the Citrix Workspace app version is supported, the HKEY_CURRENT_USERSoftwareCitrixHDXMediaStreamMSTeamsRedirSupport registry key is set to 1 automatically on the VDA. The Microsoft Teams application reads the key to load in VDI mode.

If you click About > Version, the Optimized for Citrix legend displays

If you don’t see Optimized for Citrix, exit Teams by right clicking on the notification area icon and restart.

Citrix HDX Optimization for Microsoft Teams

These components are by default, bundled into Citrix Workspace app and the Virtual Delivery Agent (VDA)

Call Flow

  1. Launch Microsoft Teams.
  2. Teams authenticates to O365. Tenant policies are pushed down to the Teams client, and relevant TURN and signaling channel information is relayed to the app.
  3. Teams detects that it is running in a VDA and makes API calls to the Citrix JavaScript API.
  4. Citrix JavaScript in Teams opens a secure WebSocket connection to WebSocketService.exe running on the VDA (127.0.0.1:9002). WebSocketService.exe runs as a Local System account on session 0. WebSocketService.exe performs TLS termination and user session mapping, and spawns WebSocketAgent.exe, which now runs inside the user session.
  5. WebSocketAgent.exe instantiates a generic virtual channel by calling into the Citrix HDX Browser Redirection Service (CtxSvcHost.exe).
  6. Citrix Workspace app’s wfica32.exe (HDX engine) spawns a new process called HdxTeams.exe, which is the new WebRTC engine used for Teams optimization.
  7. HdxTeams.exe and Teams.exe have a 2-way virtual channel path and can start processing multimedia requests.—–User calls——
  8. Peer A clicks the call button. Teams.exe communicates with the Teams services in Azure establishing an end-to-end signaling path with Peer B. Teams asks HdxTeams for a series of supported call parameters (codecs, resolutions, and so forth, which is known as a Session Description Protocol (SDP) offer). These call parameters are then relayed using the signaling path to the Teams services in Azure and from there to the other peer.
  9. The SDP offer/answer (single-pass negotiation) and the Interactive Connectivity Establishment (ICE) connectivity checks (NAT and Firewall traversal using Session Traversal Utilities for NAT (STUN) bind requests) complete. Then, Secure Real-time Transport Protocol (SRTP) media flows directly between HdxTeams.exe and the other peer (or O365 conference servers if it is a Meeting).

With the release of Citrix Workspace app 2012 for Mac, Citrix now supports Citrix Optimization for Microsoft Teams on MacOS.

Microsoft Teams is the fastest growing business app in Microsoft history, and Citrix was the first partner in the world to optimize the Microsoft Teams experience in a virtualized environment for Windows and Linux. Citrix is excited to announce that we are bringing their full optimization to Mac with the release of Citrix Workspace app 2012 for Mac! Together, Citrix with Microsoft Teams accelerates team collaboration and personal productivity across all business activity.

With this Citrix Workspace app release, your teams now get a native Microsoft Teams app experience on their virtual apps and desktops for audio calls, video calls, and screensharing. Among several immediate benefits, both admins and users will be able to enjoy:

  • Crystal clear voice and video up to 720p
  • Enhanced server scalability that is accomplished by offloading CPU/RAM/GPU/IO onto the user’s device rather than the Virtual Delivery Agent (VDA). That means more users per server and lower operating costs.
  • The ability to leverage existing Citrix security policies within virtual instances of Microsoft Teams

Please note, this optimization is supported on Microsoft Teams on macOS version 10.15 (Catalina) and above.

What’s New with Microsoft Teams on MacOS and Citrix?

With Citrix ´s continuous innovation, they focus on improving both user and admin experience. This chart compares the optimizations they have made for you today with the capabilities they previously had in place.

Please note, CTXMTOP is a command-and-control virtual channel. That means media is not exchanged between the Citrix Workspace app and the VDA.

There are a few known limitations with Microsoft Teams running on VDI on Mac compared to the native Microsoft Teams application. This includes the absence of the gallery view. While Skype for Business can coexist with Microsoft Teams, they cannot run at the same time. Microsoft has an extensive deployment guide for this. Additionally, to preserve VDA resources on the workspace app, Citrix have disabled background effects on Microsoft Teams. Check out their documentation for more information.

The Citrix optimization for Microsoft Teams on MacOS,contains VDA-side HDX services and API to interface with the Microsoft Teams hosted app to receive commands. These components open a control virtual channel (CTXMTOP) to the Citrix Workspace app-side media engine. The endpoint decodes and renders the multimedia locally. Reverse seamless snaps-in the local Citrix Workspace app window back into the hosted Microsoft Teams app.

Minimum version – Citrix Workspace app 2012 for Mac:

Citrix Optimization For Ms Teams

Supported operating systems

  • macOS Catalina (10.15)
  • macOS Big Sur Beta 8 in test environments only. Do not use in production environments.

Features supported:

  • Audio
  • Video
  • Screen sharing optimization (incoming and outgoing)

Mirosoft Teams on MacOS optimization works by default if the user has Citrix Workspace app 2012 or later and macOS 10.15.

Citrix hdx optimization for microsoft teams

If you want to disable Microsoft Teams on MacOS optimization, run this command in terminal and restart Workspace app:

defaults write com.citrix.receiver.nomas mtopEnabled -bool NO

Learn more here about Microsoft Teams on MacOS optimization by Citrix.