...
Code Block | ||
---|---|---|
| ||
hls_preloader_time_min=2000 |
Disabling HLS preloader
HLS preloader can be disabled if necessary, this feature is available since build 5.2.396. To disable HLS preloader, the following parameter is used
Code Block | ||
---|---|---|
| ||
hls_preloader_enabled=false |
Custom preloader configuration
...
REST queries and response sates
REST query | Body example | Response example | Response state | Desctiption | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
/hls/startup |
| 200 - OK 404 - Stream not found 500 - Internal error | Start HLS agent for the stream | ||||||||
/hls/find_all |
| 200 – OK 404 – Not found | Find all streams having HLS agents | ||||||||
/hls/terminate |
| 200 – OK 404 – Not found | Stop or restart HLS agent for the stream |
Parameters
Parameter name | Description | Example |
---|---|---|
name | Stream published name | test |
Issues
1. If HLS agent for the stream is started by REST query /hls/startup, and there are no active HLS subscribers, agent will stop after the following timeout in seconds
...