Plain-key Encryption
The easiest way is to pass the key along with the video. This is called plain-key encryption. A key is included in the HLS or DASH playlist as a plain key or as a URI which points to a plain key. Here is an example of an HLS file where the key points to a URIkey.bin where the key is stored.
.mp4 or .ts files, they won’t be able to play them like normal files after downloading them. Mission successful right? Well, NO.
This is more like putting your door key under the mat.
