mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1093, Refine HLS encryption wiki
This commit is contained in:
parent
37bc0a253d
commit
1e2cca4712
3 changed files with 34 additions and 39 deletions
|
@ -1106,8 +1106,8 @@ vhost hls.srs.com {
|
|||
# default: off
|
||||
hls_keys on;
|
||||
# the number of clear ts which one key can encrypt.
|
||||
# default: 10
|
||||
hls_fragments_per_key 10;
|
||||
# default: 5
|
||||
hls_fragments_per_key 5;
|
||||
# the hls key file name.
|
||||
# we supports some variables to generate the filename.
|
||||
# [vhost], the vhost of stream.
|
||||
|
@ -1120,6 +1120,7 @@ vhost hls.srs.com {
|
|||
# ./objs/nginx/html/[app]/[stream]-[seq].key
|
||||
hls_key_file_path ./objs/nginx/html;
|
||||
# the key root URL, use this can support https.
|
||||
# @remark It's optional.
|
||||
hls_key_url https://localhost:8080;
|
||||
|
||||
# on_hls, never config in here, should config in http_hooks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue