ADC

Media classification

Understanding the type of traffic in the network helps network administrators to manage bandwidth consumption for optimal network performance. The media classification mode monitors and displays the statistics of media traffic going through the Citrix ADC appliance.

With this mode enabled, a network administrators can collect stats showing the amount of data accessed, and the types of devices from which the media files have been accessed. The Citrix ADC appliance also supports byte-range requests in this mode.

Currently the Citrix ADC appliance can monitor and display statistics for the following media file types:

Media File type
Microsoft Smooth Streaming Video
Apple Live Streaming Video
Audio Data Transport Stream (ADTS) Audio
Advanced Audio Coding (AAC) Audio
Flash Video (FLV) Audio and Video
3GP Audio and Video

The appliance can display stats for the following devices:

Device Platform Device Type
iOS iPad and iPod
Android Mobiles and tablets
Laptop or Desktop Windows laptop and desktop computers
Others Other mobile devices (mobiles and tablets)

The network administrators can check the following stats counters to know the amount of data accessed through the Citrix ADC appliance for various media traffic types.

Media File Name Stats Counter
Microsoft Smooth Streaming mcmssmthstrmvid—This counter records the total number of Microsoft Smooth Streaming videos served by the Citrix ADC appliance; Mcmssmthstrvidpl—This counter records the total number of Microsoft Smooth Streaming video playlists served by the Citrix ADC appliance; Mcmssmthstrmvidbytes—This counter records the total number of data bytes served for Microsoft Smooth Streaming media traffic on the Citrix ADC appliance; Mcmssmthstrmplvidbytespl—This counter records the total number of Microsoft Smooth Streaming playlist bytes served by the Citrix ADC appliance.
Apple Live Streaming mccaplelivestrmngvid—This counter records the total number of Apple Live Streaming videos served by the Citrix ADC appliance. Mccapplelivestrmngvidpl—This counter records the total number of Apple Live Streaming video playlists served by the Citrix ADC appliance. Mcapplelivestreamingvidbytes—This counter records the total number of data bytes served for Apple Live Streaming media traffic on the Citrix ADC appliance. Mcapplelivestreamingplaylistvidbytespl—This counter records the total number of Apple Live Playlist bytes served by the Citrix ADC appliance.
Audio Data Transport Stream (ADTS) mcadtsaudio—This counter records the total number of ADTS audio clips served by the Citrix ADC appliance. Mcadtsaudiobytes—This counter records the total number of data bytes served for ADTS media traffic on the Citrix ADC appliance.
Advanced Audio Coding (AAC) Mcaacaudio—This counter records the total number of AAC audio clips served by the Citrix ADC appliance. Mcaacaudiobytes—This counter records the total number of data bytes served for AAC media traffic on the Citrix ADC appliance.
Flash Video (FLV) Mcflvvid—This counter records the total number of flash videos served by the Citrix ADC appliance. Mcflvvidbytes—This counter records the total number of data bytes served for flash videos on the Citrix ADC appliance.
3GP mc3gpvidbytes—This counter records the total number of data bytes served for 3GP media traffic on the Citrix ADC appliance.

The Citrix ADC appliance detects media file types by their signatures in the initial body bytes of the responses. For example, the initial body bytes for an mp4 file has the following signature in the response:

**....ftypmp42** ....isommp42....moov...lmvhd.....c.\!.c.\!..

The Citrix ADC appliance detects the client device type by the user agent string that the client device includes in the HTTP GET request. For example, a windows phone using a UC browser will have the following user agent string in the HTTP GET request:

User-Agent: **UCWEB**/2.0 (**Windows**; U; wds 8.10; en-US; HTC; 8X by HTC) U2/1.0.0

Enable media classification

By default, media classification is disabled on the Citrix ADC appliance. You have to enable the mode before using it.

To enable media classification by using the command line interface

At the command prompt, type:

enable ns mode Mediaclassification

To enable media classification by using the GUI

Enable media classification on Citrix ADC appliance

Navigate to System > Settings > Configure Modes and select Media Classification.

To view media traffic statistics on the Citrix ADC appliance

Navigate to Optimization and click Media Classification to view the media traffic statistics.

Verify media classification statistics

You can view the media traffic statistics in the dashboard utility or using the command line interface. The dashboard utility displays summary and detailed statistics in a tabular and graphic format.

Note For more information about statistics and charts, see the Dashboard help on your Citrix ADC appliance.

To View media classification statistics by using the command line interface

At the command prompt, type one of the following commands to display a summary of media classification statistics, display detailed statistics, or clear the display:

stat Mediaclassification

stat Mediaclassification -detail

stat Mediaclassification -clearstats

To view Media Classification statistics on the Dashboard

In the Dashboard utility, you can display the following types of media classification statistics:

  1. Select Media Classification to display a summary of the media traffic statistics.
  2. To display detailed media traffic statistics, click the Details.
  3. To clear the media traffic statistics, click Clear.
Media classification