Skip to content

DoveRunner Multi-DRM integration samples for HTML5 players

Notifications You must be signed in to change notification settings

doverunner/html5-player-drm-samples

Repository files navigation

DoveRunner Multi-DRM integration samples for HTML5 Players

These samples show how to play streaming content (DASH or HLS) protected with multi-DRM (PlayReady, Widevine, FairPlay Streaming) using the HTML5 player from the web page of the service site.

  1. MPEG-DASH CENC content
  • DASH streaming content protected by PlayReady and Widevine DRM encrypted under the Common Encryption standard. Depending on your browser, PlayReady (Edge) or Widevine (Chrome, FireFox) DRM is applied.
  • Shaka, Video.js, and Bitmovin players use the highest robustness for Dash playback, depending on the client environment.
  1. HLS FPS(FairPlay Streaming) content
  • HTTP Live Streaming content encrypted with Sample AES and protected by FairPlay Streaming. Applies to Safari browsers running on Mac OS X (10.10 or later).
  1. Widevine Desktop's Unique DeviceId
  • To use Widevine CSL, PersistentState must be enabled on the player.
  • Add some samples.
  • Shaka Player config : (docs)
'com.widevine.alpha': {
    'persistentStateRequired': true
}
  • Bitmovin Player config : (docs)
widevine: {
    'mediaKeySystemConfig': {
        'persistentState':'required'
    }
}
  • VideoJS Player config reference : (github)
{
    name: 'com.widevine.alpha',
    options: {
        persistentState: 'required'
    }
}

Advanced