Support playlists of offline DRM protected content
Issue description
Does exoplayer have support to play offline DRM content using ConcatenatingMediaSource? Currently I am able to play single media offline which is DRM protected using :
drmSessionManager?.setMode(DefaultDrmSessionManager.MODE_PLAYBACK, license.keySetIdBytes)
Version of ExoPlayer being used 2.9.1
I don't think we have a great solution for this currently. As you note, you can only restore one keySetId into the DrmSessionManager.
Thanks, @ojw28 . Is it going be to a part of any of the upcoming releases?
Hello @vinayjoglekar can you share on how you implemented the Offline Playback that is protected content.
TIA
@avecost you need to cache license key(s) of the content at when you download the actual content. At the time of playback of this offline content instead of using MediaDrmCallback, use that license like this
drmSessionManager?.setMode(DefaultDrmSessionManager.MODE_PLAYBACK, license.keySetIdBytes)
Marking as a duplicate of #2394, since what's being done for that issue will also solve this one.