Skip to content

Fallback slate

media.source.slate

A stream can have multiple sources. Sapsan monitors the active source, automatically switches to the next one when it degrades, and switches back when the primary recovers. This logic is called LSI (Live Source Input).

Fallback file (backup)

If all sources are down, a file is shown instead of a black screen (see how to prepare the file):

streams:
  - name: tv1
    inputs:
    - udp: {host: 239.0.0.1, port: 5000}
    lsi:
      backup:
        file: /storage/technical-difficulties.mp4
        timeout: 5

The fallback kicks in timeout seconds after the inputs fail (immediately if there are no inputs at all) and has its own audio_timeout/video_timeout.