Call us: 1.800.513.1740
  • Log In
  • API
  • Sign Up
Encoding.comEncoding.comEncoding.comEncoding.com
  • Cloud Solutions
    • Public Cloud
    • HybridCloud
    • Reserved Cloud
  • Media Services
    • Features
      • Formats
      • Quality Control
      • Speed
      • Playout Graphics and Editing
      • Interfaces
      • Closed Captioning
      • Cloud Security
    • Packaging
      • HTTP Live Streaming (HLS)
      • Microsoft Smooth Streaming (MSS)
      • HTTP Dynamic Streaming (HDS)
      • Dynamic Adaptive Streaming over HTTP (DASH)
      • Dynamic Ad Insertion (DAI)
    • Digital Rights Management
      • Google Widevine
      • Microsoft Playready
      • Adobe Flash Access
      • Apple Fairplay
    • Integrations
      • Cloud Storage
      • Harmonic
      • Aspera FASP
      • Dolby
      • Nielsen
    • Live
      • Live Linear Streaming
      • Live Event Streaming
      • Live Advanced Features
      • Live Pricing
  • Vid.ly
  • Pricing
  • About Us
    • Our Story
    • Our Team
    • Case Studies
    • Contact Us
    • Blog
  • Resources
    • White Papers
    • Android
    • H.264
    • H.265
    • HTML5
    • Labs
    • VP9
  • Contact Us

The Complete Guide to Apple Fairplay
Apple’s DRM Platform

Apple’s DRM platform  FairPlay is a DRM scheme originally developed by Veridisc, and more widely adopted by Apple, Inc. It is designed to encrypt content packaged using HTTP Live Streaming and is intended for use with all iOS devices as well as Apple TV. On the desktop,  Apple’s DRM converter FairPlay  is also built into QuickTime. Apple originally used FairPlay to protect content distributed through the iTunes Music Store. While Apple no longer encrypts iTunes Music downloads, FairPlay DRM is still used in the new Apple Music service for content stored locally.

Key Benefits

  • Enterprise protection of your HLS audio and video
  • Uses and established key system already adopted throughout the industry
  • Native to iOS, Apple TV, and OS X
  • Efficient power consumption on mobile devices
  • Full integration with Apple AirPlay
  • Licensed with no cost through the Apple Developer Program

What is FairPlay Streaming?

  • A delivery mechanism for secure keys that are protected on both the network and client
  • Delivery of keys is server agnostic and can work with existing key infrastructure, streamlining implementation
  • Will only work with protected HDMI for external outputs
  • FairPlay Streaming does not provide DRM rights, enforce policies, authenticate users, or authorize devices

Usage Guidelines

  • A FairPlay Key Security Module (KSM) into your existing Key Server infrastructure
  • Code should be integrated with your application to relay key requests and responses
  • Every time an HLS asset is encrypted you should:
    • Generate and store a Content Key (CK) in your Key database
    • Encrypt the Asset using AES
    • Make sure the HLS playlist references your Content Key

Sample FairPlay DRM Streaming Workflow

apple DRM converter

1. The app requests to play asset from Apple’s AVfoundation media framework

2. AVfoundation media framework then downloads the m3u8 playlist which contains your content key

3. The media framework will then request the key from the media framework delegate built into the app

4. The app delegate then responds to the media framework to make a request from the FairPlay Streaming Server

5. The delegate then sends the FairPlay Server Playback Content to your Key Server

6. The key server then interprets the Server Playback Content using the Key Security Module and searches for the Content Key

7. When the search is completed the Key Security Module applies the content key

8. The media framework delegate then provides the key response to the media framework

9. The content is now decrypted and the app and device can execute playback

While FairPlay Streaming is Key Server agnostic it must be capable of the following:

  • Decrypt and validate the Secure Playback Content
  • Search for the content key
  • Produce the Content Key Context
  • Understand and utilize Key Server Module information

FairPlay Streaming and Apple AirPlay

To stream FairPlay DRM encrypted content to AppleTV, there are no special requirements, it happens automatically. Everything is managed by FairPlay Streaming and passed through by Apple TV. The source devices relays encryption data between the devices and Apple TV. This methods maintains all the security benefits of FairPlay Streaming.

FairPlay Streaming in Safari OS X

FairPlay Streaming takes advantage of Encrypted Media Extensions which are emerging HTML5 encryption standards. Because of this, the code written for key delivery must be written using JavaScript. The same KSM can be used for both iOS and OS X, and content from the browser can be delivered to other devices via AirPlay.

Encoding.com

  • Log In
  • Sign Up
  • Free Consult
  • Careers
  • Contact Us

Help Center

  • Knowledge Base
  • FAQ
  • SLA
  • Terms of Use
  • Privacy

Recent Posts

  • Schedule a Meeting at NAB

    Attending NAB 2018? Come and visit Encoding.com in Booth SU11013 and see

    18 March, 2018
  • Encoding.com introduces new and advanced features for media workflows

      QC We are excited to announce Encoding.com’s Video QC as a

    22 February, 2018
  • NAB Roundup: The State of HEVC, AV1, and Proprietary Codecs https://t.co/RWOjdwpHVH  @streamingmedia 

    3 days ago
  • Thanks  @janozer  for a great interview at  @NABShow  2018 with https://t.co/aGwkhHWOFk CEO and Founder Gregg Heil… https://t.co/xuyUkc4yOu

    4 days ago
  • HLS and H.264 Top Dogs in 2018  @encodingdotcom  Global Format Report https://t.co/cyvM4wgPw7  @streamingmedia … https://t.co/mL3ojiTDnq

    2 weeks ago
Encoding.com • Encoding Intelligence™ • Copyright 2016 Encoding.com • All Rights Reserved
  • Log In
  • Sign Up
  • Cloud Solutions
    • Public Cloud
    • HybridCloud
    • Reserved Cloud
  • Media Services
    • Features
      • Formats
      • Speed
      • Interfaces
      • Closed Captioning
      • Cloud Security
    • Packaging
      • HTTP Live Streaming (HLS)
      • Microsoft Smooth Streaming (MSS)
      • HTTP Dynamic Streaming (HDS)
      • Dynamic Adaptive Streaming over HTTP (DASH)
      • Dynamic Ad Insertion (DAI)
    • Digital Rights Management
      • Google Widevine
      • Microsoft Playready
      • Adobe Flash Access
      • Apple Fairplay
    • Integrations
      • Cloud Storage
      • Harmonic
      • Aspera FASP
      • Dolby
      • Nielsen
    • Live
      • Live Linear
      • Live Event
      • Lived Advanced Features
      • Live Pricing
  • Vid.ly
  • Pricing
  • About Us
    • Our Team
    • Our Story
    • Case Studies
    • Blog
  • Resources
    • White Papers
    • Android
    • H.264
    • H.265
    • HTML5
    • Labs
    • VP9
Encoding.com