Skip to main content

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

CategorySupport
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 CodecsAAC,AC3,MP3
Video CodecsH264
SubtitleNone
MetadataNone
PassthroughNone

HLS Optional configurations

OptionDescriptionTypeDefaultAPICommandline
Buffer time (ms)Live buffer window in ms. Segments within this range from the live point will be kept in memoryNumber (unsigned integer)50000bufferTime--buffer
debugThe debug level at which messages need to be printed.debugInherited from parent processdebug--debug
Memory page timeoutFor 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 longerNumber (unsigned integer)15pagetimeout--pagetimeout
Simulated LiveMake this input run as a simulated live streamFlagUnsetrealtime--realtime
Always onAutomatically 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://*
Booleanfalsealways_onundefined