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…

How to integrate Azure PlayReady License service with your own encryptor/streaming server

Azure Media Services announced the Public Availability of Azure Media Services Content Protection a month ago, which offers the capability to encrypt your media content with AES or PlayReady content protection. Now, with Media Services, you could ingest, encode, adding content protection and stream your content. However, there are customers who ask me the question, what if I want to just move my License/key delivery server onto Azure Cloud Platform first, and keep my encoding, encryptor and streaming server on premises, could I do it with Azure? The answer is yes, and this blog would walk you through the integration. I will use PlayReady as an example to explain the concept in this blog, however, the same logic applies to AES key server integration as well. Read more here

Dynamic Encryption vs. Static Encryption with Azure Media Services

In Azure Media Services, there are two ways to encrypt your content regardless you are applying common encryption (PlayReady) or envelope encryption (AES) onto your content: dynamic encryption or static encryption. This blog will explain to you the difference and when to use which.

Dynamic Encryption:

This is what we always recommend. Once you encode your file into multi-bitrate Mp4, you could configure the file to be encrypted by defining Content Key, Content Key authorization policy and asset delivery policy. The file is stored in clear in the storage, of course, you could put storage encryption on the container, which is optional. After configuration, our streaming server will apply sample level encryption on your media file on the fly. For example, if you configure AES dynamic encryption for HLS streaming protocol, our streaming server will encrypt your file on the fly with AES envelope encryption and deliver through HLS. Below is a diagram to show you how dynamic encryption works in Azure Media Services: Read more here

Android HLS playback via Azure media services

This blog shows you how to generate Http Live Streaming (HLS) version 3 via Azure Media Services, which is a new feature we recently added, in order to support HLS playback in a wider range of Android devices. According to Google, Android platform supports Http/Https Live streaming playback, with the following restrictions:

  • • MPEG-2 TS media files only
  • • Protocol version 4 (Android 4.4 Kitkat)
  • • Protocol version 3 (Android 4.0 and above)
  • • Protocol version 2 (Android 3.x)
  • • Not supported before Android 3.0

Read more here

1 2 3 4 5 6 7  Scroll to top