I have a question that I want to encrypt the video file when finished playing and after that when user again want to play the same I have to decrypt that. Means I have to encrypt the file at onCompletion of the video and decrypt the video file when want to be playing.
This is for only security reasons that user can not transmit it to another place.
Thanks in advance.
You need not decrypt the video. Here is a third party library to play encrypted videos on the fly.
http://libeasy.alwaysdata.net/network/#encoding
It make the local server and serve the frames of video in chunks to the Videoview.From your app only it can play
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With