Lumen help

Integrating Mesh Delivery with Brightcove

Introduction

Step 1: Add Mesh Delivery plugins

Mesh Delivery HLS source handler plugin

                //cdn.streamroot.io/videojs-hlsjs-plugin/1/stable/videojs-hlsjs-plugin.js
            

Mesh delivery plugin

                //cdn.streamroot.io/brightcove-hls-dna-plugin/1/stable/brightcove-hls-dna-plugin.js?srKey=YOUR_STREAMROOT_KEY
            
Adding Mesh Delivery plugins to Brightcove

To get the highest flexibility of deployment, we recommend setting the StreamrootKey in the Query Parameter "srKey".

 

Parameter name

Mandatory

Description

YOUR_STREAMROOT_KEY

Yes      

The unique Streamroot key that we have assigned to you; make sure it is identical to the one provided in the Account section of your dashboard.

Step 2: Add Mesh Delivery options

Add the following 'Name':

                streamrootDna
            

And 'Options':

                {
  "streamrootKey": "YOUR_STREAMROOT_KEY",
  "dnaConfig": {}
}

            
Adding mesh delivery options on Brightcove

Step 3: Visualize Mesh Delivery

Vizualization graph for Mesh Delivery

Optional: Show quality selector

Mesh Delivery switcher plugin

                //cdn.streamroot.io/videojs-quality-picker/1/stable/vjs-quality-picker.js
            
Adding Mesh Delivery switcher plugin to Brightcove
                qualityPickerPlugin
            
Enabling Mesh Delivery switcher plugin

Recommended Hls.js options

                streamrootHls
            
                {
    "hlsjsConfig": {
        "maxBufferSize": 0,
        "maxBufferLength": 30,
        "liveSyncDuration": 30,
        "liveMaxLatencyDuration": 10000
    }
}

            
Hls.js configuration on brightcove