Radiant Media Player

DVR streaming

Documentation sections

DVR support in Radiant Media Player

DVR streaming offers the possibility to rewind into a live stream to watch recorded content. Radiant Media Player features a specific DVR UI, including intuitive in-stream navigation and jump-to-live functionalities. DVR streaming with Radiant Media Player is supported for the following streaming protocol:

  • HLS

DVR for audio-only streaming is also supported.

Our general recommendations and advanced player settings for HLS streaming also apply to DVR streaming.

Radiant Media Player sports a variety of optimisation for DVR streaming. Those optimisations are triggered with the isLiveDvr setting set to true.

You can insert video ads (only pre-roll or overlay ads are supported for DVR streaming), use HLS AES encrypted content or query our dedicated DVR API to fine tune your application.

Player code example

<!-- Include Radiant Media Player JavaScript file in your <body> or <head> -->
<script src="https://cdn.radiantmediatechs.com/rmp/4.10.1/js/rmp.min.js" 
<!-- Set up your wrapper div with its unique id -->
<div id="rmpPlayer"></div>
<!-- Set up player configuration options -->
  // First we specify bitrates to feed to the player
  var bitrates = {
    // This URL is inactive - use your own
    hls: 'https://1703298472.rsc.cdn77.org/live/ngrp:live_all/playlist.m3u8?DVR'
  // Then we set our player settings
  var settings = {
    licenseKey: 'your-license-key',
    bitrates: bitrates,
    width: 640,
    height: 360,
    // On macOS Safari DVR support is in BETA - use the below setting to enable it
    // forceHlsJSOnMacOSSafari: true,
    // the DVR magic happens here
    isLiveDvr: true,
    poster: 'https://www.radiantmediaplayer.com/images/poster-rmp-demo.jpg'
  // Reference to the wrapper div (unique id)
  var elementID = 'rmpPlayer';
  // Create an object based on RadiantMP constructor
  var rmp = new RadiantMP(elementID);
  // Initialization ... test your page and done!

iOS, macOS, Google Cast considerations

On iOS where media source extensions are not available we rely on Apple QuickTime-based embedded player for providing the DVR scrub bar in fullscreen mode - in window mode the scrub bar is never displayed and the player handles the DVR stream as a simple live stream. The DVR scrub bar in fullscreen mode is only available on iOS 11+.

On macOS Safari you need to use the forceHlsJSOnMacOSSafari setting to enable DVR functionalities. Otherwise the player will handle the DVR stream as a simple live stream. Note that macOS Safari support in hls.js is still in BETA.

When casting through Google Cast is engaged the player handles the DVR stream as a simple live stream. This is because DVR support in a custom receiver application is currently unavailable.



This method allows seeking into the recorded DVR sliding window. Input parameter ms is a Number expressed in milliseconds. If the input is greater than the sliding window duration then the player will jump to live. In order to avoid buffering issues seeking to value below 10 seconds will cause the player to seek to 10 seconds within the DVR sliding window.


This method will cause the player to exit the recorded DVR sliding window and to jump to live content.


This getter returns a Number expressed in milliseconds representing the duration of the DVR recorded sliding window. -1 is returned in case the value is not available.


This getter returns a Boolean stating if the DVR stream on stage is showing live content (true) or on-demand content from the sliding window (false). null is returned in case the value is not available.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License.