1
0
Fork 0
livestream-tools/icedreammusic/liquidsoap/silent_fallback.liq

10 lines
518 B
Plaintext
Raw Normal View History

2021-02-28 17:04:41 +00:00
# Silent fallback stream that is still loud enough that it forces Vorbis/OPUS codecs to continue broadcasting data.
# Some Icecast-compatible software on the server-side tends to freak out over us not sending data for extended amount of times, for example during technical difficulties.
def mksafe_soft(s) =
blank_s = blank()
blank_v = drop_audio(blank_s)
silent_a = amplify(0.00005, noise())
silent_s = mux_video(video=blank_v, silent_a)
mksafe(fallback(track_sensitive=false, [s, silent_s]))
end