Questions? Feedback? powered by Olark live chat software
Ignorar Navegação

Stream premium content to Apple TV with Azure Media Services

Publicado em 18 abril, 2016

Senior Program Manager, Azure Media Services

As a content provider today, if you want to stream premium content to Apple TV you need to use Apple FairPlay Streaming (FPS) technology. Building this solution can be tedious. That's why we’re offering the preview for Apple FairPlay Streaming service. We hide all the complexities so you can easily build a FairPlay Streaming solution programmatically via APIs. Furthermore, with support for FairPlay, PlayReady and Widevine, Azure Media Services now provides a truly multi-DRM solution for streaming VOD and Live content enabling you to reaches a really wide set of audience on various devices, easily and quickly.

How does it work with Azure Media Services?

The diagram below illustrates how multi-DRM works in Azure Media Services today. You can simply configure PlayReady and Widevine DRM with MPEG-DASH streaming and HLS + Sample AES with FairPlay streaming.

image

The following encryption formats are now available for securing your HLS streams.

  • AES-128 Envelope clear key: The entire chunk is encrypted using AES-128 CBC mode. The decryption of the stream is supported by iOS and OSX player natively. We released this service for one year. Find more information here.
  • <NEW>SAMPLE-AES FairPlay: The individual video and audio samples are encrypted using AES-128 CBC mode. FPS is integrated into the device operating systems, with native support on iOS and Apple TV. Safari on OS X enables FPS using EME interface support.

Pricing and availability

FairPlay license delivery is available for free while it is in preview.

Steps to get started with FairPlay

  1. Sign up with Azure.com and create an Azure Media Services account.
  2. Sign up with Apple Development Program.
  3. Apple requires the content owner to obtain the deployment package. Please state the request you already implemented KSM (Key Security Module) with Azure Media Services and that you are requesting the final FPS package.
  4. Once you obtain the final FPS package, you will need to follow instructions to generate a certification and ASK (Application Secret Key), please save those which need to be used later when you configuring FairPlay services. 
  5. You could either configuring the services using REST APIs or .NET SDK. We are building Azure Portal and Azure Explorer tool support as well. 
    SDK: https://www.nuget.org/packages/windowsazure.mediaservices/3.6.0
    MSDN article: https://azure.microsoft.com/en-us/documentation/articles/media-services-protect-hls-with-fairplay/
    Github Sample Project to configure FairPlay: https://github.com/Azure-Samples/media-services-dotnet-dynamic-encryption-with-fairplayhttps://github.com/Azure-Samples/media-services-dotnet-dynamic-encryption-with-fairplay
  6. How about FairPlay player? 
    We currently don't have Azure Media Player support for FairPlay, however, you could obtain a HTML5 in Apple's FairPlay deployment package. This player enabled FairPlay protected playback with Safari on MAC OSX. For IOS or Apple TV, you need to use IOS SDK to build a native application for streaming.