Skip to content

Restart on Crash

Sometimes a stream may crash due to network issues, problems with the source, or other technical reasons.
In Senta Streamer, there is a built-in mechanism for automatic recovery — Restart on crash.

How It Works

  1. Open the settings of the desired stream.
  2. Enable the Restart on crash option.
  3. Set the Restart delay (in seconds) parameter — the number of seconds the system will wait before restarting the stream.

If the stream crashes, the streamer will automatically attempt to restart it after the specified delay.

Restart Limit

To avoid endless restart loops with unstable sources, the application includes the Restart limit parameter:

  1. Go to the Settings section.
  2. Set the value of Restart limit — the maximum number of restart attempts within a given period.

How it works:

  • The counter is maintained separately for each stream, but the limit is configured globally in the settings.
  • If the number of attempts exceeds the limit, further restarts are blocked for 60 minutes.
  • The counter resets every 75 minutes.
  • If Restart limit is set to 0 or not configured, restart attempts will continue indefinitely.

Example Use Case

Let’s say you have a stream with an unstable source that sometimes disconnects. You want the streamer to make several recovery attempts but pause if the errors persist:

  • In the stream settings:
    • Enable Restart on crash.
    • Set Restart delay = 10 seconds.
  • In global settings:
    • Set Restart limit = 5.

In this case, when the stream crashes, the streamer will attempt to restart it up to 5 times in a row with a 10-second delay.
If all attempts fail, the system will pause for 60 minutes before trying again.