Flussonic Media Server documentation

Source Failover

Redundant sources Anchor Anchor x2

To maximize service uptime for your subscribers, you can specify multiple data sources, and Flussonic will automatically failover to the secondary data sources if the primary source becomes unavailabe. This happens when the stream was immediately disconnected, or in the situation where there were no incoming frames from the source for more than 10 seconds.
stream rtr {
  url tshttp://;
  url tshttp://;

If Flussonic Media Server has switched to a secondary source, it will periodically check if the first source is up.

stream rtr {
  url tshttp:// priority=1 source_timeout=60;
  url tshttp:// priority=2 source_timeout=60;


It is possible to specify the period of time, in seconds, for which Flussonic will wait for new frames to come from this particular data source. When this time passes, Flussonic will attempt to reconnect to the data source. Individual source_timeout of a source supersedes source_timeout of the stream. Default source_timeout is 60 seconds.


Sources can be assigned priority values. By default, the first source in the list has the highest priority and the last source in the list has the lowest priority. If priority is not specified for some sources, then default order is applied. If priority value of unavailable source matches the priority of the current source, then Flussonic will not try to fall back to the source that has become unavailable.

Source check Anchor Anchor x2

Flussonic only monitors the time since last frame was received from the source, and switches to another source if there were no incoming frames received within a certain timeframe.

Flussonic doesn't monitor conditions like video or audio loss or increased volume of MPEG-TS CC errors.

Recording Anchor Anchor x2

Flussonic writes video from an active source to configured DVR location.

The system makes no distinction between live sources and local video files. If Flussonic switched to a file source the dvr subsystem will write the contents of this file to archive:

stream cnn {
  url udp://;
  url file://vod/backup.mp4;
  dvr /storage;

To avoid writing a backup video file to archive when all sources are down, use backup