mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-10 14:31:07 +02:00
Docs
This commit is contained in:
parent
bfaccfd738
commit
93cf3b69f1
|
@ -22,3 +22,5 @@
|
|||
* Notify
|
||||
* [on_playlist](directives.md#on_playlist)
|
||||
* [notify_send_redirect](directives.md#notify_send_redirect)
|
||||
* Client Caching
|
||||
* [hls_allow_client_cache](directives.md#hls_allow_client_cache)
|
||||
|
|
|
@ -98,6 +98,7 @@ Table of Contents
|
|||
* [hls_fragment_slicing](#hls_fragment_slicing)
|
||||
* [hls_variant](#hls_variant)
|
||||
* [hls_type](#hls_type)
|
||||
* [hls_allow_client_cache](#hls_allow_client_cache)
|
||||
* [hls_keys](#hls_keys)
|
||||
* [hls_key_path](#hls_key_path)
|
||||
* [hls_key_url](#hls_key_url)
|
||||
|
@ -1415,6 +1416,19 @@ is enough for the whole event. Default is `live`;
|
|||
hls_type event;
|
||||
```
|
||||
|
||||
#### hls_allow_client_cache
|
||||
Syntax: `hls_allow_client_cache enabled|disabled`
|
||||
Context: rtmp, server, application
|
||||
|
||||
Enables (or disables) client cache with `#EXT-X-ALLOW-CACHE` playlist
|
||||
directive. Setting value to enabled allows supported clients to
|
||||
cache segments in a live DVR manner. Setting value to disabled explicitly
|
||||
tells supported clients to never cache segments.
|
||||
Unset by default (playlist directive will be absent).
|
||||
```sh
|
||||
hls_allow_client_cache enabled;
|
||||
```
|
||||
|
||||
#### hls_keys
|
||||
Syntax: `hls_keys on|off`
|
||||
Context: rtmp, server, application
|
||||
|
|
Loading…
Reference in a new issue