Azure Media Services is an enterprise-ready media streaming and encoding service offered by Microsoft. It is highly customizable 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.
We recommend 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 article.
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
When the previous tasks are complete, click Create and this will build your asset. This takes a few minutes to complete.
When 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 takes a few minutes to deploy the channel.
While the channel is being deployed the message 'Starting Channel' is displayed
When the channel is set up the channel Dashboard is displayed. This page is the Azure 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 now need to create a streaming endpoint to send the RTMP stream for encoding.
A 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 you can now click 'Start' to initiate the endpoint. This takes approximately 30 seconds to start.
Configure My Pages Live Streaming for Azure
As a logged in Pexip My Pages user go to 'Live events and recordings'
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
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 need to input the ingest URL
The Ingest URL looks similar to below:
When inputting it into My Pages you need to append the RTMP stream with an extension, for example we will use pexstream:
Starting and playing the stream
When 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 opens the embedded media player to preview the stream. If you see the stream from your 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
When the stream is complete, you must 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: