Stream Live or VOD assets
Both live and VOD content share a single delivery path through Streaming Endpoint and Streaming Locators. Both a streaming endpoint and a streaming locator are required for the content to be viewed.
Create a Streaming Endpoint
To create your Streaming Endpoint:
-
Log in to MK.IO and select a subscription.
-
From the left-hand side menu, navigate to Streaming Endpoints then select the Create Streaming Endpoint button.
-
Define a unique name for this endpoint (no special characters except for '-' are allowed). This will be used to create the hostname and path your end users will use to play back content. As you type a name, a preview of the hostname will appear. Note that your Streaming Endpoint name will be visible to end-users.
-
You can add an optional description of what this endpoint will be configured for. It is a common practice to create multiple streaming endpoints for different types of content in order to improve the resiliency of your application.
-
Select the streaming endpoint type – Shared or Dedicated and potentially the number of scale units. Note that you may switch between Shared and Dedicated at any time but you must choose whether or not to use CDN at creation time. We recommend delivering playback URLs to your application dynamically, to maximize your ability to change origins in the future.
-
If you want it to automatically start once created, tick the checkbox.
-
Add any tags you want to assign to this resource for resource monitoring purposes.
-
Click Create to validate your streaming endpoint.
Once submitted, your endpoint will appear in your list and you will be able to verify its state and start or stop it manually as needed.
Streaming endpoints will need to be active to enable your content.
Prepare asset for streaming or download
Before creating a Streaming Locator, you must have created and started a Streaming Endpoint.
To create your streaming locator:
- Log in to MK.IO and select a subscription.
- From the left-hand side menu, navigate to Assets to see your list of available assets.
- Click on the name of the asset that you want to create a streaming locator for. You are then presented with the properties for that asset.
- If you scroll down towards the bottom of the page, you will see the streaming locators panel. This will list any configured streaming locators already assigned to that asset.
- To create a new streaming locator, at the top of the page, select which streaming endpoint you want to use for this asset from the drop down list. This will present you with all available running streaming endpoints in the region of your asset.
- Once you’ve selected the streaming endpoint, dropdown the streaming locator menu. Here you can either select an existing streaming locator already configured, or you can create a new one by selecting + Add Streaming Locator.
- Selecting the Add Streaming Locator option brings up the dialog box to create a new locator.
- You need to give the locator a name. Note: the name needs to be unique to that asset and will form part of the output URL.
- Select a streaming policy from the drop down option box. The Streaming Policy dictates the streaming protocols and encryption options for the asset
- Select a content key policy from the drop down option box. The Content Key Policy indicates how content key are provided to end client.
- Set an expiration time for the streaming locator in DD:MM:YYYY, HH:MM format.
- You can optionally set an asset filter and/or an account filter to customize how asset would be delivered. More details on filters available in the Asset page.
- Set an optional streaming locator ID
- Then click Add to validate the creation of the streaming locator.
- Then click Apply to take settings and assign the streaming endpoint and streaming locator your asset
- Once assigned, the playback URLs for the asset will be available for copying in the portal and the asset will be available for preview in the browser based web page
Your asset is now live! You can take those URLs and embed them into your applications to enable access your content.
Configuring MKPlayer for playback
Ensure that you've installed the latest version of MKPlayer SDK and follow the Getting Started steps in the player documentation for basic playback.
Updated 2 months ago