Front sample use case for video-js with ffmpeg source encoding with AES-128 crypted TS segments enabled.
![]() |
6 năm trước cách đây | |
---|---|---|
css | 6 năm trước cách đây | |
fixture | 6 năm trước cách đây | |
img | 6 năm trước cách đây | |
js | 6 năm trước cách đây | |
key | 6 năm trước cách đây | |
video | 6 năm trước cách đây | |
.gitignore | 6 năm trước cách đây | |
README.md | 6 năm trước cách đây | |
index.html | 6 năm trước cách đây | |
package-lock.json | 6 năm trước cách đây | |
package.json | 6 năm trước cách đây |
This is a deadly simple front vanillaJs use case.
This let you get a page using a web HLS video stream encoded with AES-128 encryption.
That means .ts segments can't be stolen and used without the encryption key.
On that point, that let you think about how access restrictions should be applied from a user context.
No less no more.
You will find into the bash folder an encoder script template.
Pls, edit and change the hardcoded pathes to match your publish requirements.
Try, test and enjoy...!
I've just used vscode as editor to code.
No linter is required, even it should.
As usual, fork then pull request.
No support enable without pull request...but it works in place
No unit test implemented but it should have some (;-)...