The solution is composed of three projects:

1. AzureMediaServices.Website

This project provides the web interface to upload videos to Azure, track progress and play the video.

Before starting the project configure the WEB API URL in the java script file under the path:

Scripts -> custom.js -> AZ.WebApiUrl

 

Default.html is the entry point for the application and will be that start page. 

 

2. AzureMediaServices.WebApi

Before starting the project configure the azure configurations in the web.config file. 

  • Storage Account Name
  • Storage Account Key
  • Azure Media Service Account Name
  • Azure Media Service Account Key
  • Acs Base Address - > Value for this differ for Government cloud and commercial cloud. 
  • Cloud Media Api Server - >   Value for this differ for Government cloud and commercial cloud
  • Cloud End Point Suffix -> Value for this differ for Government cloud and commercial cloud

I have provided the values in web.config for Government cloud and Commercial Azure. Comment and un comment based on usage scenario. The values will differ based on region.

 

3. AzureMediaServices.Common

This is a class library project which provides wrapper on top of azure media sdk. This can reused if required from Desktop, mobile or web frameworks. 

Last edited Jan 31 at 9:41 PM by findnavish, version 6