Coder Social home page Coder Social logo

zeroinfinite / media-services-dotnet-dynamic-encryption-with-drm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juliako/media-services-dotnet-dynamic-encryption-with-drm

0.0 1.0 0.0 3.51 MB

The sample shows how to use Azure Media Services to dynamically encrypt your content with PlayReady and Widevine DRMs.

License: MIT License

C# 100.00%

media-services-dotnet-dynamic-encryption-with-drm's Introduction

services platforms author
media-services
dotnet
Juliako

Using PlayReady and/or Widevine Dynamic Common Encryption with .NET

The sample shows how to use Azure Media Services to dynamically encrypt your content with PlayReady and Widevine DRMs.

For detailed information about the sample, see Using PlayReady and/or Widevine Dynamic Common Encryption with .NET

How To Run This Sample

To run this sample you will need:

  • Visual Studio 2013 or 2015
  • An Internet connection
  • An Azure subscription

This sample demonstrates functionality that was introduced in Azure Media Services SDK for .Net -Version 3.5.2 (specifically, the ability to define a Widevine license template and request a Widevine license from Azure Media Services). The following Nuget package command was used to install the package:

PM> Install-Package windowsazure.mediaservices -Version 3.5.2

Step 1: Clone or download this repository.

Step 2: Update the app.config file

Update the appSettings section of the app.config file with values of your Azure Media Services account.

	  <appSettings>
	    <add key="MediaServicesAccountName" value="MediaServicesAccountName" />
	    <add key="MediaServicesAccountKey" value="MediaServicesAccountKey" />
	    <add key="Issuer" value="http://testacs.com" />
	    <add key="Audience" value="urn:test" />
	  </appSettings>

Step 3: Get at least one streaming unit

Get at least one streaming unit for the streaming endpoint from which you plan to delivery your content. For more information, see: configure streaming endpoints

Step 4: Run the sample

Clean the solution, rebuild the solution, and run it.

About the code

For more information, see Using PlayReady and/or Widevine Dynamic Common Encryption with .NET.

More information

You can view AMS learning paths here:

media-services-dotnet-dynamic-encryption-with-drm's People

Contributors

acomsmpbot avatar juliako avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.