10 lines
518 B
Plaintext
10 lines
518 B
Plaintext
|
# 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
|