Technology

The Computer is incredibly fast, accurate and stupid. Man is unbelievably slow, inaccurate and brilliant. The marriage of the two is a challenge and an opportunity beyond imagination.

How client pass tokens to Azure Media Services Key delivery services

We constantly get questions around how a player could pass token to our key delivery services, which will get verified and the player obtains the key. We support Simple Web Token (SWT) and JSON Web Token (JWT) these two token formats. Token authentication could be applied to any type of key – regardless you are doing Common Encryption or AES envelope encryption in the system.

Here are four ways you could pass the token with your player, depends on the player and platform you are targeting:

1.Through the HTTP Authorization header.

Note that the “Bearer “ prefix is expected per the OAuth 2.0 specs. Read More

How to use API connector to deliver AES encrypted video

This blog demonstrates how to use API connector to deliver AES encrypted video with token authentication. Azure Media Services API connector allows you to stand up a web services with a set of simple APIs enabled, so you could upload, encode, encrypt and deliver a video content. The authentication mechanism for your API access are built-in.

API connector hosts the following set of APIs for you and these APIs are making calls to Azure Media Services REST APIs to perform corresponding actions. For instance, once you mark your video upload completed, AMS will start to encode video with multiple-bitrate 720P profile, configure the video to be AES 128 encrypted by supplying a content key and token authorization policy, lastly publish the video so you could get a streaming URL to stream your video. As you can see, we simply all these steps you need to do with AMS APIs to only one API call with API connector. Read more here

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 http://smf.cloudapp.net/healthmonitor.

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.
log

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: https://itunes.apple.com/us/app/wirecast-cam/id922654616?mt=8. 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: https://www.youtube.com/watch?v=nQCM1jFdi_4. 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: https://github.com/Azure/azure-media-services-samples/tree/master/KDWithACS. 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: https://github.com/Azure/azure-media-services-samples/tree/master/AESLiveStreaming. Read more here

1 2 3 4 5 6  Scroll to top