How to Manage Streaming Endpoints in a Media Services Account
This article is part of the Media Services Video on Demand workflow and Media Services Live Streaming workflow series.
In Media Services, a Streaming Endpoint represents a streaming service that can deliver content directly to a client player application, or to a Content Delivery Network (CDN) for further distribution. Currently, Microsoft Azure Media Services does not offer a seamless CDN integration, but you can utilize one of the CDN providers on the market (Azure CDN or Akamai). The outbound stream from the Streaming Endpoint service can be a live stream, or a video on demand Asset in your Media Services account.
In addition, you can control the capacity of the Streaming Endpoint service to handle growing bandwidth needs by adjusting scale units (also known as streaming units). It is recommended to allocate one or more scale units for applications in production environment. Scale units provide you with both dedicated egress capacity that can be purchased in increments of 200 Mbps and additional functionality which currently includes use dynamic packaging.
This topic shows how to manage Streaming Endpoints using the Azure Management Portal.
Adding and Deleting Streaming Endpoints
- In the Management Portal, click Media Services. Then, click the name of the media service.
- Select the STREAMING ENDPOINTS page.
- Click the ADD or DELETE button at the bottom of the page. Note that the default streaming endpoint cannot be deleted.
- Click the START button to start the streaming endpoint.
Click on the name of the streaming endpoint to configure it.
Scale the Streaming Endpoint
Streaming units provide you with both dedicated egress capacity that can be purchased in increments of 200 Mbps and additional functionality which currently includes dynamic packaging capabilities. By default, streaming is configured in a shared-instance model for which server resources (for example, compute, egress capacity, etc.) are shared with all other users. To improve a streaming throughput, it is recommended to purchase Streaming Units.
To change the number of streaming units, do the following:
To specify the number of streaming units, select the SCALE tab and move the reserved capacity slider.
Press the SAVE button to save your changes.
The allocation of any new streaming units takes around 20 minutes to complete.
Currently, going from any positive value of streaming units back to none, can disable on-demand streaming for up to an hour.
[AZURE.NOTE] The highest number of units specified for the 24-hour period is used in calculating the cost. For information about pricing details, see Media Services Pricing Details.
Configuring the Streaming Endpoint
The CONFIGURE tab enables you to perform configurations as shown in this image. The description of the fields follows.
The configuration on this page will only apply to streaming endpoints that have at least one reserved unit. To reserve the on-demand streaming reserved units.
Set the maximum caching period that will be specified in the cache control header of HTTP responses. This value will not override the maximum cache value that have been set explicitly on the blob content.
Specify IP addresses that would be allowed to connect to the published streaming endpoint. If no IP addresses specified, any IP address would be able to connect.
Specify configuration for Akamai signature header authentication.
You can specify a cross domain access policy for Adobe Flash clients (for more information see, Cross-domain policy file specification. As well as client access policy for Microsoft Silverlight clients (for more information, see Making a Service Available Across Domain Boundaries.aspx).
You can also configure custom host names by Clicking the configure button. For more information, see the CustomHostNames property in the StreamingEndpont topic.