Microsoft Azure - Delivering Content In Azure Media Services

Introduction

This article will help you deliver your media content in Azure Media Services. Here, we will be working with managing the Keys in Azure Media Services, streaming the endpoints on Azure Media Services, scaling them up, and publishing.

Requirements

  1. Microsoft Azure account.

Note - Please walk through my previous articles before stepping into this demo, as you need an Azure Media Storage account with an encoded  media file added in.

Managing the Keys in Azure Media Services

Step 1

Go to your Azure Portal using this link.

Step 2

Click on the Azure Media Services account that you have already created in the previous demo. Here, in my account, I have created amsnaju. Let's click on it.

Azure

Step 3

Scroll down and in the Media Services panel, we can find the Account Keys menu which will be helping us to manage the Keys.

Azure

Click on Account Keys. Here, we can find the Account Name, Primary Name,  and Secondary Name. We can also copy these keys for future uses. This will also help us to regenerate primary as well as secondary keys.

Working with Streaming Endpoints

Step 4

In the Media Services account, click on Streaming Endpoints under Media Services panel.

Azure

Click on the default Streaming endpoint which is available over here.

Azure

Here, we can specify the number of streaming units for the media file.

Azure
Step 6

Scale up these streaming units for Dynamic packing, by just dragging the slider.

Azure
Click on the “Save” button after scaling up is done for streaming the units.

Azure

Once the saving process is done, we will be getting the following notification.

Azure

And now, in the Streaming Endpoints panel, you can find the value over here.

Azure

Publishing the media file in Azure Media Services

To provide a URL or a link for a user to view our media file or to download, it should be published by creating a locator. Locators help provide access to the files available in the assets in Azure Media Services.

Step 7

Click on "Settings" option in the Azure Media Services account.

Azure

Step 8

Click on Assets now.

Azure

We can upload the file over here for which we wish to publish or broadcast it.

Note - Refer to my previous article on Azure Media Services to upload a media file and to work on changing the formats, etc.,

Here, we have two files available in the Assets blade.

Azure

Step 9

Let's click on the one which we wish to publish.

Azure

Step 10

Click on the Publish button now.

Azure

Azure

Step 11

Select the locator, Start date and time – end date and time, click on "Add" once it is configured.

Azure

Finally, we will be getting a notification after the locator is added, as shown below.

Azure

Here is the link for downloading the video file from Azure Media Services.

Azure

Keynotes in Short
  1. Managing the Keys in Azure Media Services
  2. Working with Streaming Endpoints
  3. Publishing the media file in Azure Media Services