General Settings

BYO CDN - Bring Your Own CDN

By default, BlendVision One will handle the delivery of content created within our platform, however, we also offer the flexibility of BYO CDN-Bring Your Own CDN which enables you to leverage your AWS CloudFront distributions for content delivery within BlendVision One. You will configure AWS CloudFront distributions with the origin and cache behavior policies that BlendVisione One provides and complete the settings accordingly. 

This guide will walk you through the setup and configurations of integrating your own CDN.  

The topics covered in the article : 

AWS CloudFront Preparations

To complete configurations for Livestreams and VOD, it is necessary to create sets of cache behavior policies accordingly to ensure data transmission and playback performance.  Please strictly follow the policy settings provided below and apply them to the respective distributions. 

 

Cache Behavior Policy for Live and VOD

  • Go to Policies and click Create cache policy. Create the following policies according to the parameters provided. 

 

Cache Behavior Policy_Live Segment 

Cache Behavior Policy_Live Manifest 

Cache Behavior Policy_Ultra Low Latency Live Segment 

Cache Behavior Policy_Ultra Low Latency Live Manifest  

Cache Behavior Policy_VOD Segment 

Cache Behavior Policy_VOD Manifest  

 

Origin Access Control for VOD

  • Go to SecurityOrigin Access then click Create control setting. Create the following access control according to the parameters provided. 

Origin Access_VOD 

Once you have created the above cache behavior policies and Origin Access control, you will use them to configure distributions later.

 

Create Distribution

  • Go to Distributions and click Create distribution. Under the Origin domain, enter random characters for the time being, you will create origin afterward. 
  • Follow the below parameters for distribution creation. 

For VOD distributions, note the following difference 

  • enable Origin access control setting 
  • Select the origin access you have created 




CDN Host creation / Origin and Cache Behavior Configurations 

To utilize BYO_CDN functionality, provide the distribution information to BlendVisiob One. 

  1. Log in to BlendVision One, then go to General Settings > BYO CDN > click Create CDN Host 

  1. Enter a custom Display Name for the distribution then provide your AWS ID and Distribution Host. Copy and paste the complete distribution domain name URL from the AWS console. 
    1. BlendVision One will provide you with the origin after a Livestream or VOD has been created. You will add the Origin Domain after obtaining the information. 

  1. Click Create Host  

Note: You can modify created Distribution Host but note that it may affect the playback for Livestreams or VODs that you have enabled BYO_CDN. We recommend modification after the Livestreams or VODs have been completed playback not prior.  

  • Create Live 
  1. If you wish to enable BYO_CDN for a Livestream, use the toggle to enable it and select a created Host from the dropdown. 

  1. Once the Livestream has been created, BlendVision One will prepare the following information for you to configure to the assigned distribution. 

 

  1. Go to the distribution Origin tab and click Create origin. Copy the Origin path provided and paste it to the Origin domain field.
  2. Go to the Behaviors tab and click Create behavior
  3. Copy the Live HLS and MPEG-DASH Cache behavior prefix to create the following 4 behaviors
    1.  out/v1/9e0f041f3abb4fdab989562f5dfeda61/*.ts (select the live segment policy as Cache policy) 

 

  1. out/v1/9e0f041f3abb4fdab989562f5dfeda61/*.m3u8 (select the live manifest policy as Cache policy) 

  1. out/v1/e267e3ff39734bc4b5029dfceb461365/*.mpd  (select the live segment policy as Cache policy) 
  2. out/v1/e267e3ff39734bc4b5029dfceb461365/*.mp4  (select the live manifest policy as Cache policy) 



  • Create VOD 
  1. If you wish to enable BYO_CDN for a VOD, use the toggle to enable it and select a created Host from the dropdown. 

  1. Once the VOD has been created, BlendVision One will prepare the following information for you to configure to the assigned distribution. 

  1. Go to the distribution Origin tab and click Create origin. Copy the Origin path provided and paste it to the Origin domain field.
  2. Go to the Behaviors tab and click Create behavior
  3. Copy the Cache behavior prefix to create the following 3 behaviors
    1. 91bb67f9-4f4e-4226-831d-9874a7862b61/vod/* (select the VOD segment policy as Cache policy) 

  1. 91bb67f9-4f4e-4226-831d-9874a7862b61/vod/*.mpd (select the VOD manifest policy as Cache policy)
  2. 91bb67f9-4f4e-4226-831d-9874a7862b61/vod/*.m3u8 (select the VOD manifest policy as Cache policy) 

 

Updated