Streaming live video from RaspberryPI to Azure Media Services

Posted on

Few weeks ago I bought raspberry PI 2 Model B to my elder kid to encourage him to program something  and start hacking. And as it often happens I also started to explore new toy and its capabilities. Since I am working in Azure Media services as developer, first project I actually started to implement myself is    …Continue Reading


When you overgrow your RaspberryPi sd card – How to clone SD card and re-size root partition.

Posted on

After Raspberry PI arrived and you spent few weeks experimenting you start realizing that you run out of space in your sd card. Especially it is true when you use some sd card which was laying around and you was happy to save 10$. Now you constantly getting out of space messages trying to install    …Continue Reading


Using Json Web Keys from OpenID Connect discovery spec to work with JWT token authentication in Azure Media Services

Posted on

In my recent blogs post “Integrate Azure Media Services OWIN MVC based app with Azure Active Directory …” I described how you can utilize JWT token issued by Azure Active directory and provide group based permissions to watch videos hosted in Azure Media Services. Sample from blog post was mentioning that Azure Active Directory have    …Continue Reading


Azure Media Services 3.2.0.0 and JWT related changes in Azure AD integration sample

Posted on

In last post i showed how you can integrate Azure Media Services Key Delivery service functionality with JWT token obtained from Azure Active Directory.Sample code mentioned in article located in Key-delivery-with-AAD-integration repository. In previous version of sample i used JWT token acquired to communicate with Azure Graph API and pass it to Key Delivery service . Based    …Continue Reading


Integrate Azure Media Services OWIN MVC based app with Azure Active Directory and restrict content key delivery based on JWT claims

Posted on

Updated on 06/08/2015: Code sample has been updated to use Json web Keys . See blog post Using Json Web Keys from OpenID Connect discovery spec to work with JWT token authentication in Azure Media Services for details Updated on 04/22/2015:  Code samples mentioned here has been moved to official Azure Media Services sample github    …Continue Reading


JWT token Authentication in Azure Media Services and Dynamic Encryption

Posted on

Starting from Azure Media Services .NET 4.5  SDK 3.1.0.0 release, Azure Media services team added functionality to use JWT token to restrict delivery of content keys. In this post I’d like  to demonstrate how to issue JWT token to be used in scenario when you want to stream dynamically encrypted content and content key requests have    …Continue Reading


Windows Azure Media Services .NET SDK 3.0.0.2 release

Posted on

Today Microsoft released version 3.0.0.2  of Windows Azure Media Services .NET SDK which is hosted in nuget.org  http://bit.ly/1gUB34k. 3.0.0.2 is a minor release addressing few bug fixes,code refactoring within sdk code base and splitting scenario e2e tests from unit tests into different solutions. I want to highlight few changes which recently have been made in    …Continue Reading


How to encode audio with Windows Azure Media Services

Posted on

When you creating encoding job in Windows Azure Media Services you can select encoder and corresponding configuration (preset). Windows azure Media Services supports named presets as well as presets in form of xml files. To see list of name presets for Windows Azure Media Encoder follow this link: http://msdn.microsoft.com/en-us/library/windowsazure/jj129582.aspx   To see list of supported    …Continue Reading


Windows Azure Media Services 2.4.0.0 has been released to nuget.org

Posted on

Briefly about changes: – Added functionality to update job priority. – Added Locator.Name, Asset.Uri properties – Added 23 locator related unit tests – Changed asset load balancing samples to include reasons why account has been selected or not. Code has been uploaded to github sample dir http://bit.ly/1chUG2O and article to explain some concepts behind implementation    …Continue Reading


Quick tip: Validating Nuget package by installing it from local disk

Posted on

When you releasing software it is critical to double check that package is not corrupted.If i don’t have private repository deployments to host packages,  I usually open package with any zip archive program like 7Zip, but better way is to actually install it from local disk . Here is a quick tip: Open package manager    …Continue Reading