This commit is contained in:
benmcmeen 2016-04-18 14:21:56 -05:00
parent bfaccfd738
commit 93cf3b69f1
2 changed files with 16 additions and 0 deletions

View file

@ -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)

View file

@ -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