HLS input
This input allows you to both play Video on Demand and live HLS streams stored on the filesystem, as well as pull live HLS streams over HTTP and HTTPS.
HLS Core
Every input within MistServer requires a Stream name
and Source
to understand what these mean exactly we recommend reading up on Stream settings
HLS Support Matrix
Category | Support |
---|---|
Input URLs | /*.m3u8 ,/*.m3u ,http://*.m3u8 ,http://*.m3u ,https://*.m3u8 ,https://*.m3u ,https-hls://* ,http-hls://* ,s3+http://*.m3u8 ,s3+http://*.m3u ,s3+https://*.m3u8 ,s3+https://*.m3u ,s3+https-hls://* ,s3+http-hls://* ,hls:* |
Audio Codecs | AAC ,AC3 ,MP3 |
Video Codecs | H264 |
Subtitle | None |
Metadata | None |
Passthrough | None |
HLS Optional configurations
Option | Description | Type | Default | API | Commandline |
---|---|---|---|---|---|
Buffer time (ms) | Live buffer window in ms. Segments within this range from the live point will be kept in memory | Number (unsigned integer) | 50000 | bufferTime | --buffer |
debug | The debug level at which messages need to be printed. | debug | Inherited from parent process | debug | --debug |
Memory page timeout | For bufferless or live inputs like HLS, set the timeout in seconds for old, inactive pages to be deleted. A longer value results in more memory usage, but ensures that recently buffered data stays in memory for longer | Number (unsigned integer) | 15 | pagetimeout | --pagetimeout |
Simulated Live | Make this input run as a simulated live stream | Flag | Unset | realtime | --realtime |
Always on | Automatically starts this stream, regardless of viewers requesting it or not. Only available if the source is set to one of: /*.m3u8 ,/*.m3u ,http://*.m3u8 ,http://*.m3u ,https://*.m3u8 ,https://*.m3u ,https-hls://* ,http-hls://* ,s3+http://*.m3u8 ,s3+http://*.m3u ,s3+https://*.m3u8 ,s3+https://*.m3u ,s3+https-hls://* ,s3+http-hls://* | Boolean | false | always_on | undefined |