At Radiant Media Player we are committed to providing support for the best and latest technologies from the online video world. Peer-to-peer assisted streaming offers a great way to improve your viewer streaming experience and to reduce media content delivery cost. As such we have partnered with Lumen eCDN (previously Streamroot) to make Lumen technology available with Radiant Media Player.
To overcome the limitations of traditional unicast delivery, Lumen eCDN has developed a hybrid video streaming solution based on peer-to-peer protocols. Working in tandem with a server or CDN architecture, Lumen eCDN creates a mesh network of viewers watching the same content at the same time. Viewers can obtain video segments from the source that provides them most quickly - either the server or another viewer - optimizing data exchanges and freeing up congested servers.
In this article we will review how to use Lumen eCDN peer-to-peer accelerated streaming with Radiant Media Player.
Lumen is a Radiant Media Player technology alliance partner.
Lumen eCDN support in Radiant Media Player is currently available for HLS (hls.js) and DASH (Shaka player) in the following environments:
Lumen eCDN technology can be used for on-demand, live or DVR media content with Radiant Media Player.
First you will need an account with Lumen eCDN to obtain a streamrootKey.
Then we will set up our player code. To make your life easier we have built Lumen eCDN support directly within Radiant Media Player - you just need to pass a
streamrootConfig
player setting object. This object references your streamrootKey and other Lumen eCDN related options.
<!-- Include Radiant Media Player JavaScript file in your <body> or <head> --> <script src="https://cdn.radiantmediatechs.com/rmp/9.1.1/js/rmp.min.js"></script> <div id="rmp"></div> <!-- Set up player configuration options --> <script> // HLS streaming source const src = { hls: 'https://your-hls-url.m3u8' }; // Then we specify our streamrootConfig: object const streamrootConfig = { type: 'hlsjs', streamrootKey: 'your-streamroot-key', dnaConfig: { // example for passing dnaConfig setting //"fragmentsFetchedBeforeLoad": 3 } }; // Player settings const settings = { licenseKey: 'your-radiant-license-key', streamrootConfig: streamrootConfig, src: src, width: 640, height: 360, contentMetadata: { poster: [ 'https://your-poster-url.jpg' ] } }; const rmp = new RadiantMP('rmp'); rmp.init(settings); </script>
<script src="https://cdn.radiantmediatechs.com/rmp/9.1.1/js/rmp.min.js"></script> <div id="rmp"></div> <script> // DASH streaming source const src = { dash: 'https://your-dash-url.mpd' }; // Then we specify our streamrootConfig: object const streamrootConfig = { type: 'shakaplayer', streamrootKey: 'your-streamroot-key', dnaConfig: { // example for passing dnaConfig setting //"fragmentsFetchedBeforeLoad": 3 } }; // Player settings const settings = { licenseKey: 'your-radiant-license-key', streamrootConfig: streamrootConfig, src: src, width: 640, height: 360, contentMetadata: { poster: [ 'https://your-poster-url.jpg' ] }, // Recommended settings for DASH streaming with Lumen eCDN shakaManifestDashDefaultPresentationDelay: 30 }; const rmp = new RadiantMP('rmp'); rmp.init(settings); </script>
That is it! You are all set to enjoy the best of Radiant Media Player and Lumen eCDN.
©2015-2023 Radiant Media Player. All Rights Reserved.