Lumen help

Integrating Mesh Delivery with Clappr


Step 1: Install Clappr and Mesh Delivery builds

                <!-- Clappr build -->
<script src="//"></script>

<!-- Mesh Delivery plugin -->
<script src="//"></script>


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


Parameter name





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: Set up Clappr and Mesh Delivery

Include the following code in the HTML <body> :

                <div id="demoplayer"></div>
  var player = new Clappr.Player({
    source: "YOUR_PLAYLIST_URL", 
    parentId: "#demoplayer",
    plugins: { 
      playback: [HlsDnaPlugin]
    dnaConfig: {},
    hlsjsConfig: {},


Step 3: Visualize Mesh Delivery

Vizualization graph for Mesh Delivery

Recommended Hls.js options

                var hlsjsConfig = {
   "maxBufferSize": 0,
   "maxBufferLength": 30,
   "liveSyncDuration": 30,
   "liveMaxLatencyDuration": Infinity