DASH

  Lo sentimos, esta página está pendiente de traducción al español

DASH (Dynamic Adaptive Streaming over HTTP) video format is an alternative to HLS, where data is also divided into small fragments, that allows to dynamically adapt the video stream for each user. DASH protocol has been actively developed for more than 10 years with the support of Microsoft, Adobe, Google, Sony, Netflix and has rich customization options, a compact manifest file, DRM support and better performance at high resolutions and bitrates compared to HLS, but still worse in native support by modern browsers.

DASH plugin settings in the builder:

We use the official framework to support DASH — dash.js. Since version 12.10, it is automatically loaded if necessary from CDN //cdn.dashjs.org/latest/dash.all.min.js and is no longer included in the player file. You can also enable it yourself on your site page if you need a special version of the framework.

<script type="text/javascript" src="//cdn.dashjs.org/vx.x.x/dash.all.min.js"></script>

Custom settings

You can pass any settings from the dash.js docs to the player code using the dashsettings parameter (since player version 17.6).

var player = new Playerjs({id:"player", file:"//site.com/dash.mpd", dashsettings:{streaming: {buffer: {fastSwitchEnabled: true}}}});

DRM

DASH supports DRM (digital rights management). You can set the configuration for different providers in JSON format in the settings. The plugin will select the first provider that supports the current browser.

{
   "com.widevine.alpha":{
      "serverURL":"URL"
   },
   "com.microsoft.playready":{
     "serverURL":"URL"
   },
   "org.w3.clearkey":{
      "clearkeys":{
         "XXX":"XXX"
      }
   }
}

JSON must be specified in the Plugins / DASH / DRM Support / Configuration with a PRO version of the builder. You can find DRM logs in the browser console.

How to pass cookies

Please enable this option for sending cookies

Plugins / DASH / Send cookies

The server must include an Access-Control-Allow-Credentials response in the header:

Access-Control-Allow-Credentials: true

19.12.14
2024 © PlayerJS

Inicio de sesión

Conectarse

Regístrate gratis

Inscríbete
Al registrarte, aceptas Condiciones del servicio
Iniciar sesión si tienes una cuenta.

Restaurar contraseña

Restaurar
¿Ha olvidado su correo electrónico? Contacte con nosotros