Using AesCipherDataSource in Exoplayer2 from Android

Praveen kumar
Sep 7, 2018 · 1 min read

I am trying to stream a video from PHP to android using HTTP as encrypted, i need to encrypt the streams of video for video copy protection, i found the AesCipherDataSource class in Exoplayer2 but i dont know how to use it.

Kindly help me with the program and technical details to encrypt video stream in php and decrypt it in android using Exoplayer, Tank you