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:

  1. Log in to MK.IO and select a subscription.

  2. From the left-hand side menu, navigate to Streaming Endpoints then select the Create Streaming Endpoint button.

  3. 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.

  4. 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.

  5. Select the streaming endpoint typeShared 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.

  6. If you want it to automatically start once created, tick the checkbox.

  7. Add any tags you want to assign to this resource for resource monitoring purposes.

  8. 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:

  1. Log in to MK.IO and select a subscription.
  2. From the left-hand side menu, navigate to Assets to see your list of available assets.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. Selecting the Add Streaming Locator option brings up the dialog box to create a new locator.
  8. 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.
  9. Select a streaming policy from the drop down option box. The Streaming Policy dictates the streaming protocols and encryption options for the asset
  10. Select a content key policy from the drop down option box. The Content Key Policy indicates how content key are provided to end client.
  11. Set an expiration time for the streaming locator in DD:MM:YYYY, HH:MM format.
  12. 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.
  13. Set an optional streaming locator ID
  14. Then click Add to validate the creation of the streaming locator.
  15. Then click Apply to take settings and assign the streaming endpoint and streaming locator your asset
  16. 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.