HDX includes three features designed to improve the delivery of Windows Media content:
Windows Media client-side content fetching
Windows Media redirection
Real-time Windows Media multimedia transcoding
Improved network utilization and server scalability. The host does not perform any processing on the media; media files are streamed directly to the client for processing.
The client device requires only the ability to play a file from a URL; it does not need an advanced multimedia framework such as Microsoft DirectShow or Media Foundation.
Multicasting is allowed on networks that support it, enabling a single Windows Media source transmission to serve multiple users.
The application uses Microsoft DirectShow or Media Foundation framework in a manner that Windows Media client-side content fetching can intercept.
The client device has access to the source provider on the Internet or Intranet.
Any prior attempt to play the requested URL in the current session using Windows Media client-side content fetching did not fail. (Failed URLs are added to a blacklist for the duration of the session; the list resets when the user logs out.)
The media content uses one of the following URL protocols:
HyperText Transfer Protocol – http://, https://
Microsoft Media Server – mms://, mmsu://, mmst://
Real Time Streaming Protocol – rtsp://, rtspu://, rtspt://
Two Policy settings control this feature: Windows Media Client-Side Content Fetching and Windows Media Redirection. By default, both are set to Allowed. If Windows Media client-side content fetching fails, content is fetched by the host and redirected to the client using Windows Media redirection; if Windows Media redirection fails, content is rendered on the host. Windows Media client-side content fetching provides the best user experience in most cases. If you find it necessary to turn off this feature, add the Windows Media Client-Side Content Fetching setting to a policy and set its value to Prohibited. For detailed instructions on configuring policies for XenDesktop, see Citrix eDocs. If you turn off Windows Media redirection, Windows Media client-side content fetching is also turned off.
Media delivery automatically falls back to using Windows Media redirection if the requirements for Windows Media client-side content fetching are not met. This is transparent to users, but you can use the XenDesktop Collector to perform a Citrix Diagnosis Facility (CDF) trace from HostMMTransport.dll to determine which method is being used.
Windows Media redirection intercepts the media pipeline at the host server, captures the media data in its native compressed format, and redirects the content to the client device. The client device then recreates the media pipeline to decompress and render the media data received from the host server. Windows Media redirection works well on client devices running a Windows operating system, since they have the multimedia framework required to rebuild the media pipeline as it existed on the host server; Linux clients use similar open-source media frameworks to rebuild the media pipeline.Transcoding converts the media content into a format that can be rendered locally on the client hardware, eliminating the need to fall back to server-side rendering.
Transcoding can compress media data to reduce file size, or convert the data to a format supported on the target device. For example, transcoding enables video formats that are not compatible with iOS, such as .wmv, to be converted and played on iOS clients.
Transrating lowers the bitrate of the media to match the available bandwidth to the client device, providing smooth playback with synchronized audio and video – even for users playing HD videos on WANs or low bandwidth Wi-Fi connections. Examples include decreasing the media’s resolution or frame rate to achieve a lower bit rate.
If configured, offloading the transcoding to the GPU improves server scalability.
Policies help administrators predict and manage multimedia content network consumption, maintaining multimedia Quality of Service (QoS).
Windows Media redirection
Optimization for Windows Media multimedia redirection Over WAN
Use GPU for optimizing Windows Media multimedia redirection Over WAN
Transcoding occurs on the Virtual Delivery Agent (VDA). To improve server scalability, if the VDA has a supported Graphics Processing Unit (GPU) for hardware acceleration and the Use GPU for optimizing Windows Media multimedia redirection Over WAN is Allowed, transcoding is done in the GPU; otherwise, transcoding falls back to the CPU. The media stream is then transrated to achieve the target transmission bitrate and redirected to the client device, where it is recompressed and rendered.
In most cases, real-time multimedia transcoding provides the best user experience. If you find it necessary to turn off real-time multimedia transcoding, add the Optimization for Windows Media multimedia redirection Over WAN setting to a policy and set its value to Prohibited. If you prohibit Windows Media redirection, real-time multimedia transcoding (including GPU transcoding) is also prohibited.