Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Multikey DRM - Allow restoring multiple keysets for offline playbacks #3872
Been working on this issue for a week or so, hoping somebody can point me in the right direction.
We have sucessfully got Exoplayer playing back Widevine encrypted content with offline keys (ie using the offLicenseHelper and offlineLicenseKeySetid) when the video and audio stream both have the same key.
When we use different keys for the video and the audio stream we get the attached error.
We can playback content that uses seperate keys for video and audio Ok when not using the offlineLicenseKeySetId, ie allowing exoplayer to fetch the widevine keys at start of play.
ie if we remove this line of code,
The DefaultDrmSessionManager is created with multiSession: true
This is related to #3780, although keeping it as separate issue because this one relates specifically to offline. Some notes that should help clarify the current situation: