Flussonic Media Server documentation

Sources switching

Backup data sources Anchor Anchor x2

As a precaution, multiple data sources can be specified, and Flussonic will switch to another data source if the first one becomes inaccessible. Here, «inaccessible» means either immediate disconnect or no incoming frames from the source for 10 seconds.
stream rtr {
  url tshttp://;
  url tshttp://;

If Flussonic Media Server has switched to secondary source, it will periodically check first source.

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. By default the first source in list has highest priority and the last source in the list has lowest priority. If priority is not specified for some sources then default order is applied. If priority of inaccessible source is the same as priority of the current source then Flussonic will not periodically check such inaccessible source.

Source probing Anchor Anchor x2

Flussonic takes a look at the delay since last audio/video frame was seen from source.

At the moment you cannot configure switching source upon video or audio loss or raising frequency of MPEG-TS CC errors.

Recording Anchor Anchor x2

Flussonic is writing video from active source to configured DVR.

It will happen even if last url is a local file

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

If you want to show backup video when all sources are dead, but don't write it to DVR, use backup