Skip to main content

Balancer input

The load balancer input restarts itself as the input a load balancer tells it it should be. The syntax is in the form 'balance:http://HOST:PORT[?fallback=FALLBACK]', where HOST and PORT are the host and port of the load balancer and the FALLBACK is the full source URL that should be used if the load balancer cannot be reached.

Balancer Core

Every input within MistServer requires a Stream name and Source to understand what these mean exactly we recommend reading up on Stream settings

Balancer Support Matrix

CategorySupport
Input URLsbalance:*,
balancer:*

Balancer Optional configurations

OptionDescriptionTypeDefaultAPICommandline
Buffer time (ms)The target available buffer time for this live stream, in milliseconds. This is the time available to seek around in, and will automatically be extended to fit whole keyframes as well as the minimum duration needed for stable playback.Number (unsigned integer)50000DVR--buffer
Cut time (ms)Any timestamps before this will be cut from the live buffer.Number (unsigned integer)0cut--cut
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
Resume supportIf enabled, the buffer will linger after source disconnect to allow resuming the stream later. If disabled, the buffer will instantly close on source disconnect.0 = Disabled
1 = Enabled
0resume--resume
Segment size (ms)Target time duration in milliseconds for segments.Number (unsigned integer)5000segmentsize--segment-size