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 an organization.
-
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 created, your new endpoint will appear in your list and will automatically start. You can verify its state and start or stop it manually as needed.
Streaming endpoints will need to be active to enable your content.
Create a Streaming Locator
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, then click on the name of the asset for which you want to create a streaming locator. This will display the asset's properties.
- Scroll to the bottom of the page to find the Streaming locators panel, which lists any streaming locators already assigned for that asset, then click + Add Streaming Locator.
You ca also dropdown the Streaming locator menu at the top of the page and select + Add Streaming Locator.
- In the Add Streaming locator dialog box, 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. See Create an asset filter.
- Set an optional streaming locator ID.
- Click Add to validate the creation of the streaming locator.
Prepare asset for streaming or download
- After creating both your Streaming endpoint and your Streaming locator, select the Streaming Endpoint you want to use for this asset from the drop-down menu. This menu lists all available running streaming endpoints in the asset's region.
- Open the Streaming locator drop-down menu and choose an existing streaming locator.
- Click Apply to take the settings into account and assign the selected streaming endpoint and locator to 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 to 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 about 2 months ago