Azure Media Services is an enterprise-ready media streaming and encoding service offered by Microsoft. It is highly customisable and configurable with the ability to apply enterprise policies to the distribution of the content.
For more information see the Microsoft website https://azure.microsoft.com/en-au/services/media-services/
Please be aware this article does not cover the full configuration options that are available in Azure platform, only how to configure a channel for RTMP ingestion of the Pexip Service VMR stream.
It is recommended that you become familiar with the My Pages streaming integration prior to configuring an Azure custom RTMP stream.
Distribution of the live stream and/or recording is out of scope for this document.
Create a Media Service
From the Azure Dashboard search for or select 'Media Services'
Select '+Add' or 'Create media service' button to create a new service
Then create a Media Service or use existing Account Name, Subscription, Resource Group and Location
Select a storage account or create a new one
When creating a storage account you can choose the specific type account based on your requirements.
*Currently only tested with General Purpose v1
Once the previous task are complete click Create and this will build your asset. This will take a few minutes to complete.
Once it has completed go to your Resources
Now create a channel by scrolling or searching 'Live Streaming' then choose 'Quick Create' or 'Customer Create'. Quick Create is shown here.
A channel is a Microsoft name for a live video encoder.
For 'Quick Create' name the channel and then click 'Create'. This will take a few minutes to deploy the channel
While the channel is being deployed the message 'Starting Channel' will be displayed
Once the channel is set up the channel Dashboard will be displayed. This page is the control centre for the streaming channel and live events.
This page has the ingestion URL's that will be used to send the RTMP stream to the channel (video encoder).
Copy the Ingest URL as you will need to use this for the My Pages streaming integration
After the channel is first created a default live event will be created.
Azure Streaming Endpoints
You will now need to create a streaming endpoint to send the RTMP stream for encoding.
Streaming Endpoints entity represents a streaming service that can deliver content directly to a client player application, or to a Content Delivery Network (CDN) for further distribution.
From the side bar menu scroll or search to locate the menu item 'Streaming Endpoints'
In this menu you will see that default endpoint linked to the default live event already exists. You can use the default endpoint or create new endpoint.
If you select the default endpoint you will go in the endpoint page.
From the endpoint screen can now click 'Start' to initiate the endpoint. This will take approximately 30 seconds to start.
Configure My Pages Streaming for Azure
As a logged in Pexip My Pages user go to 'Live Streaming and Recording'
Then make sure have enabled a Custom RTMP on your Live Events/Recording page
To check to see if RTMP events are enabled from the 'Live events and Recordings' page
Here you will see that RTMP is enabled on this account
Please see this article for information on how to schedule streaming see the following article How to Setup Custom streaming recording RTMP in My Pages
When either scheduling or creating an Adhoc stream you will need to input the ingest URL
The Ingest URL will look similar to below:
When inputting it in to My Page you will need to append the RTMP stream with an extension, for example we will use pexstream:
Starting and Playing the Stream
Once the stream starts in My Pages you can go in to the Azure Channel Dashboard
Select the Live Event (default in this example)
Then click Watch Preview to ensure that the encoder is
This will open the embedded media player to preview the stream. If you see the stream from you VMR the stream is being sent to the encoder and you're ready to go.
From the Locators on the Live Event page you can distribute different versions of the stream
Once the stream is complete, please ensure that you stop the Live Event. If the Live event continues to run it will consume your account credits or your account will be charged.
Please see this article about distributing Azure streaming clients:
For detailed Azure Media Services documentation, please see the following page: