Git Product home page Git Product logo

isabella232 / media-services-dotnet-deliver-playready-widevine-licenses Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zeroinfinite/media-services-dotnet-deliver-playready-widevine-licenses

0.0 0.0 0.0 487 KB

Azure Media Services (AMS) enables you to ingest, encode, add content protection, and stream your content (see this article for details). However, there are customers who only want to use AMS to deliver licenses and/or keys and do encoding, encrypting and streaming using their on-premises servers. This samples shows how to configure AMS to deliver PlayReady and/or Widevine licenses.

License: MIT License

C# 100.00%

media-services-dotnet-deliver-playready-widevine-licenses's Introduction

page_type languages products description urlFragment
sample
csharp
azure
Azure Media Services (AMS) enables you to ingest, encode, add content protection, and stream your content (see this article for details).
media-services-dotnet-deliver-playready-widevine-licenses

Use Azure Media Services v2 to deliver PlayReady and/or Widevine licenses with .NET

NOTE

You can find the latest and most extensive Media Services v3 .NET samples in the Azure Media Services v3 repository.

Overview

Azure Media Services (AMS) enables you to ingest, encode, add content protection, and stream your content (see this article for details). However, there are customers who only want to use AMS to deliver licenses and/or keys and do encoding, encrypting and streaming using their on-premises servers. This samples shows how to configure AMS to deliver PlayReady and/or Widevine licenses.

For detailed information about the sample, see Use AMS to deliver PlayReady and/or Widevine licenses or AES keys.

How To Run This Sample

To run this sample you will need:

  • Visual Studio
  • An Azure subscription
  • Latest Azure Media Services .NET SDK (which will be installed when you re-build the project).

Step 1: Clone or download this repository

Step 2: Update the app.config file

Update the appSettings section of the app.config file with appropriate values. For more information, see this topic.

<appSettings>
	<add key="AMSAADTenantDomain" value="tenant"/>
	<add key="AMSRESTAPIEndpoint" value="endpoint"/>
	<add key="AMSClientId" value="id"/>
	<add key="AMSClientSecret" value="secret"/>

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

Step 3: Start a streaming endpoint

Make sure to start the streaming endpoint. For more information, see: streaming endpoints.

Step 4: Run the sample

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

About the code

For more information, see Use AMS to deliver PlayReady and/or Widevine licenses or AES keys.

More information

You can view AMS learning paths here:

media-services-dotnet-deliver-playready-widevine-licenses's People

Contributors

acomsmpbot avatar juliako avatar v-hearya 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.