I am having a .MPD file which is encrypted via ClearKey DRM scheme. I am able to play this file in Exoplayer2 with internet connectivity. Exoplayer2 is using LocalMediaDrmCallback for licensing the .MPD file
Now, i am trying to download this video offline, after that playing that offline video in Exoplayer2(without internet connectivity).
Till now i have tried to use DashDownloadHelper to download the video from .MPD file. Please guide me how to provide licensing information while downloading the file.
You can simply download the content like normal .MPD file and do the licensing in two ways i.e.
By using LocalMediaDrmCallback
Using the above drmCallback, make te instance of DefaultDrmSessionManager
For more reference for offline ClearKey License