HEVC Integration

This guide describes how to enable HEVC (H265).

The HEVC feature is only supported from Android 5.0 onwards for use with Android TV devices which support HEVC hardware decoding. HEVC. If HEVC is enabled, the player will prioritise HEVC if the stream supports it; otherwise it will use AVC.

Example code

To request HEVC support, the following key/value should be added to the "Specific" object in profiles.json for the target Android TV device:

"Codecs":["VIDEO_HEVC"]"

For example, the following shows how the profiles.json file could be used to enable HEVC support on an Amazon Fire TV

{
  "DeviceProfiles": {
    "Specific": [
      {
        "Manufacturer": "Amazon",
        "Model": "AFTS",
        ...
        "Codecs":["VIDEO_HEVC"]
      }
    ]
  }
}