Setting up PlayReady encryption using Azure Media Explorer Tool

This blog shows you step-by-step, how you could set up PlayReady encryption using Azure Media Explorer Tool. This workflow assumes that you want to dynamically encrypt your multiple-bitrates file with PlayReady, and stream through Azure as well. If you are looking for a standalone PlayReady service to work with your on-premises encryptor or streaming server, please refer to my the other blog.

1. You could download Azure Media Explorer here. The source code is also hosted in this Github repository and it’s open source.

2. Open Azure Media Explorer, Enter account name and password to get connected to your media account. Account name and password can be found in Azure portal. Read more here

Easy way to debug for your PlayReady playback

This blog describes how you could easily get PlayReady encrypted stream playback error log through

1. Paste your streaming URL into “Stream URL” textbox and hit Play button.

2. Go to the “Logs” tab on the tab set on the Left.  Then hit the Save Logs button.

3. Save the Log zip file somewhere locally.

4. Open the zip file and the log file inside it.  Attached is an example. Read more here

How to debug for AES encrypted stream in Azure Media Services

Here is some tips to help you debug your stream while configuring AES dynamic encryption in Azure Media Services. Please leave your questions if you don’t find it covered below so I could add yours. I intend to introduce tools to help you easily diagnostic your problem, however, all these steps introduced below can be achieved using APIs as well.

Before going into any of the step below, please double check whether you have at least 1 streaming reserved unit configured. You will need that to proceed with dynamic encryption. The following picture shows the correct setting under Streaming Endpoint tab in your media account: Read More…

Using iPhone to live stream with Azure Media Services

This blog shows how you could easily stream live using an iPhone with Azure Media Services and WireCast.

1. Install WireCast Cam iOS application: Essentially this is an application that push live video feed into WireCast desktop application. Azure Media Services accept RTMP as ingest protocol, if you don’t need to live transcode your video into multiple bitrates, any RTMP client could be used to send video feed into Azure Media Services ingest URL. For this demo, we choose to use Wirecast Cam application. Read More…

Configure PlayReady Encryption for live streaming using Azure Media Services

A month after we announced live streaming with AES encryption, we are also adding PlayReady encryption capability onto your live stream. This blog is a walkthrough to show you how to configure this feature through APIs. Full source code is uploaded in this Github Repository. Please note this configuration will be added into portal in our next release.

First of all, before you get started, there is extra step for you to enable PlayReady license service on your account, please refer to my video for details: Read More…

How to configure ACS with Media Services key services

This blog shows you how to configure ACS with Azure Media Services AES/PlayReady license services with token authentication. The source code is listed here: Please download the source code in order to configure Key authorization policy.

1. Go to the Active Directory Tab in the Azure Management Portal 

2. Click on Access Control Namespaces in options at the top of the page and click “+ New” and select Access Control -> Quick Create to create a new ACS Namespace. Read More here

Configure AES Encryption for live streaming using Azure Media Services

We announced AES key services dynamic encryption with VOD asset last month, and now, this capability is added into live streaming. You could configure your live streaming asset to be dynamic encrypted with AES, and delivered as Http-live-streaming (HLS) or Smooth Streaming. This blog is walk-through on how you could configure it. The source code is published at our Github Sample code repository: Read more here

Q&A about AES and PlayReady License service

This is the Q&A page for AES and PlayReady license service in Azure Media Services, please email if you have any questions. 


  1. How can we setup a PlayReady license server in Azure Media Services?

You could either configure a license server through portal or our REST or .NET SDK. You could view the set up tutorial here.

  1. How can we manage content key in Azure? [encrypt/decrypt content]

The IContentKey interface and the ContentKeyCollection in our .Net Client SDK is used to interact with Content Keys in our system.  You can create them, delete them, get the clear key value back, etc.  There are also SDKs for other languages or a REST API if that works better for your development environment.

Our system also includes encoding as well as packaging the content for PlayReady either via static or dynamic packaging (if you are using our streaming endpoints as origin).

Read more here

Using a Silverlight player with PlayReady and Token Authentication

Author: Christof Claessens –

Source code for this post is published at
You could test the token Silverlight Player to playback PlayReady Encrypted Smooth Streaming here:

Azure Media Services recently lighted up an exciting feature set related to Content Protection. More specifically, users have now the ability to protect their content with AES encryption or to leverage PlayReady. Both are enabled through a new key/licensing service, part of Azure Media Services.

We’ve written about how this works before and the documentation on MSDN should be pretty solid. What has not been completely clear so far though is the player side of the equation. For PlayReady however, the most convenient way to get started is to leverage Silverlight. The Silverlight Media Framework makes it very easy to get started playing Smooth Streaming protected with PlayReady. Except… in one case, which happens to be the scenario we’d expect most people to find themselves in for real production scenarios. Read More…

1 2 3 4 5 6 7  Scroll to top