OTT Setup Step by Step Process

Requirements to setup OTT / Live and on-demand streaming

Pre-Requisites to Build OTT in Azure

1. Media Service Account (MSA)

2. Azure AD Authentication

3. Logic App/Function App

4.App Service /Virtual Machine Servers

Process

1.Create the media service account and Azure AD Authentication

2.Associate Azure AD to provide Media service in control.

3. To Use this service, deploy in either App service /VM server

4.if Media is paid, after enter in to web site, give the user to watch videos for limited time /limited videos.

after utilizing provided time to user, it prompts to enter credential. after sign up /sign in there will be a pricing model.

5.To fulfill 4th step, need to controller which comes under Azure B2C policies or we can implement by using Logic Apps.

6.Authentication will be associate to app service/VM server. If we use web app, then we need to add authentication to it by satisfying 4th and 5th step.

Media Service Setup in azure Portal

1.Go to azure portal and in search bar enter media services and create

2. Upload the media files to stream on internet.

3.After Configuring Media Service, copy the Streaming URL, open the Azure Media Player, and paste the link, check video is displaying or not.

4. In Order to Give the Hosting Platform to the Streaming URL, they are multiple ways to host the media service in Azure.

I) Web App

II) Static Web App

III) Container in Storage Account

IV) Virtual Machine As a Server

So, I am choosing Web App in App service of Azure, same Process as Web App for Static Web App and Container also.

Creating Web App in App Service

1.Using Portal, create web App in App Service Plan.

2. Go to Deployment Section, select deployment Center.

There, in Settings Choose External Git to get the code which is prepared for displaying media service in web App.

After Choosing External git, copy the URL of GitHub where code is present.

3.Check by clicking Browse button on top Bar, whether video is Streaming or not.

4.Output is shown above, we can frame these videos by modifying html and adding styling to it.

Now we need to Provide Authentication to the web App

Creating Azure AD B2C linked to Web App

Pre-requisite: Register Azure Active Directory with Subscription

Go to Subscription, click on Resource Providers, search for AAD and register it.

Steps

1.create Azure AD B2C tenant and then switch to that tenant.

2. In APP REGISTRATIONS, add the web app which we need to provide authentication for. Here at redirect URL, we can mention web app URL so that after successful login, it will redirect to web page.

3. Under Policies, Click on User flow and create new user flow. there choose sign up and sign in which is recommended one. Then create it.

4.Then run Work flow

After clicking on Run Flow

OTT Setup Step by Step Process OTT Setup Step by Step Process Reviewed by azureGOT on September 22, 2021 Rating: 5
Powered by Blogger.