Azure Media services just announced the public preview of its Live streaming service. This tutorial will show you how to set up live streaming with Azure Media Services .NET SDK. You can download full source code in our GitHub. Meanwhile, if you want to skip the coding part, please check out Getting Started with Live Streaming Using the Azure Management Portal. Read more here
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
Azure Media Services is getting a big update this week in NABShow 2014. Now you have more options to secure your media delivery – by using AES clear key dynamaic encryption or Microsoft PlayReady content access and protection technology. This feature allows you to serve both encrypted HLS and Smooth Streaming to your client devices.
AES Clear Key Dynamic Encryption Feature explained
Now Azure Media Services allow you to deliver Http-Live-Streaming (HLS) and Smooth Streams encrypted with Advanced Encryption Standard (AES) (using 128-bit encryption keys). Media Services also provides the key delivery service that delivers encryption keys to authorized users. The diagram below demonstrate how this feature works.
This blog provides some information and links to learn Windows Azure Media Services and I hope you found it useful.
If http://portageparkdistrict.org you are new to Windows Azure Media Services, here is how you could get started:
- • Read the major features and scenarios through Windows Azure website
- • .NET tutorial for getting started with Media services (link)
- • Please ask questions on Windows Azure Media Services Forum (link)
- • Pricing detail for Windows Azure Media Services (link)
This blog explains the demo of using .NET SDK to complete a typical video-on-demand workflow – upload, encode, package and stream.
1. Create a C# console application through Visual Studio and install Nuget package: windowsazure.mediaservices.
2. I upload a little sample video file for you to use: http://mingfeiy.com/wp-content/uploads/2013/06/azure.wmv. And I put this video file under “C:\tr\“. Therefore, I suggest you create the same folder under your C drive so you don’t need to change input video file path.
3. Here are two config XML you are going to use as video presents: Smooth Streaming Config xml and Http-live-streaming config xml. Similarly, I put them under “C:\ty\”. Certainly, you could get this config from MSDN but since it is a very long string, it is easy to just read from a xml file. Read more here
I am excited to announce that our Windows Azure Media services Extension SDK version 2.0 just released! If you were using the first version of extension SDK, please pay attention because this version includes a few breaking changes – we had a round of redesign for our existing extension APIs.
What is extension SDK?
This extension SDK is a great initiative by developer Mariano Conveti from our partner Southworks. This SDK extension library contains a set of extension methods and helpers for the Windows Azure Media Services SDK for .NET. You could get the source code from Github repository or install Nuget package to start using it. Read more here
I am excited to introduce this great open source project – Extensions for Windows Azure Media Services by Mariano Converti from Southworks. Microsoft has been working with Southworks for many projects and as mentioned by Mariano in his blog, the motivation for this project is that “I wanted to have it <SDK> available in a more consumable and reusable way instead of having to search/copy/paste/tweak the code every time.”
It has been over 8 months since the last Build was held in Seattle. I am preparing my Build presentation and started to realize how much progress our services made. Here is some major new features I want to share with you. As I promised, all code demo are available here for download: http://sdrv.ms/17lzuUL.
Dynamic Packaging with MPEG-DASH live profile streaming support
What is Dynamic packaging?
This is a feature we shipped since Feb this year, which enables you to reuse your encoded video (Mp4 or Smooth streaming) to delivery multiple adaptive streaming formats such as Http-live-streaming or Smooth Streaming, by simply changing the streaming URL. Therefore, you no longer need to go through an intermediate step which packages video asset into various streaming format. And you save costs for storing them – you just need to store the encoded video once. Below it’s a diagram that demonstrates the concepts I described above. And I have a separate blog on dynamic packaging feature.
This morning we released Windows Azure Media Services .NET SDK as a full open source project(Apache 2 license) on Github. Meanwhile, there are some new features and capabilities along with this release. These new capabilities include:
- • Storage 2.0 upgrade: we make our SDK compatible with storage SDK 2.0 now
- • Last version for storage 1.7: we released the last version of storage 1.7 with notification API but in the future, we will iterate on Storage 2.0 and above dependency
- • Notification APIs: adding encoding notification APIs enables you to monitor your encoding progress
Here is five simple steps for using Windows Azure Media Services .NET SDK on Github: Read More Here
This blog post is a walk-through on how to create HLS and Smooth Streaming assets using dynamic packaging with Windows Azure Media Services (WAMS), by using .NET SDK.
What is dynamic packing?
Before talking about dynamic packing, we have to mention what’s the traditional way of doing things. If you want to delivery both Http Live Streaming and Smooth Streaming, you have to store both of them. Therefore, you stream HLS content to iOS devices and Smooth Streaming content to Windows 8 for instance. However, by using dynamic packing feature in WAMS, You only need to store a Mp4 file in your storage, and we dynamically packaging Mp4 file into HLS or Smooth Streaming based on your client request. If it needs HLS stream, we will package Mp4 into HLS on the fly, and serve out to your client. In this case, you no longer need to store a copy of smooth streaming and HLS, hence, we help you save storage cost by half at least. This diagram below demonstrates what I just described: Read more here