Can I Download a video with DRM protection on SD card and play it only with my app that using Exoplayer or in someway that video saved securely. I don't want user can copy my video to another device and I want save it on SD card because of sizes and number of videos user may download
With the latest release of ExoPlayer 2.2.0 , it provides this facility inbuilt in ExoPlayer. ExoPlayer has a helper class to download and refresh offline license keys
OfflineLicenseHelper.java
/**
* Helper class to download, renew and release offline licenses. It utilizes {@link
* DefaultDrmSessionManager}.
*/
public final class OfflineLicenseHelper<T extends ExoMediaCrypto> {
You can access the latest code from the ExoPlayer repo
For more inspiration you can look at this closed issue.
I created a sample application for Offline playback of DRM content.You can access it from here