
DRM - Keep MediaKeySession
The ProtectionController and the created MediaKeys and MediaKeySessions will be preserved during the MediaPlayer lifetime.
To observe the effect of the "keepProtectionMediaKeys" property open the developer tools and check the network requests for license request. Only for the first playback attempt license requests will be visible. For any subsequent playback attempt the existing MediaKeySession is reused and no additional license requests are performed.
For a detailed explanation on DRM playback in dash.js checkout the Wiki.