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
Category | Support |
---|---|
Input URLs | balance:* ,balancer:* |
Balancer Optional configurations
Option | Description | Type | Default | API | Commandline |
---|---|---|---|---|---|
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) | 50000 | DVR | --buffer |
Cut time (ms) | Any timestamps before this will be cut from the live buffer. | Number (unsigned integer) | 0 | cut | --cut |
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 |
Resume support | If 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 | 0 | resume | --resume |
Segment size (ms) | Target time duration in milliseconds for segments. | Number (unsigned integer) | 5000 | segmentsize | --segment-size |