Android videoview playing encrypted mp4 file


#1

Is it possible with native android APIs to play a locally stored MPEG-CENC encrypted mp4 file ?
The encrypted mp4 file and it’s decryption key is stored locally, could we play it with without using any third party video player lib. And if no, which third party video player could do that most simply.


#2

I am not very familiar with Android DRM solutions. This Stack Overflow question and its answers suggest that there were solutions back in 2014. Hopefully, the ExoPlayer team will respond to your issue. You might also check to see if libVLC offers this.

I apologize for not having a more definitive answer for you.