i have a script:
set("harbor.bind_addr","0.0.0.0")
file= single("/home/pi/m/some_file.mp3")
all_in_for_operator = mksafe(
audio_to_stereo(
input.http(
id="local_operator_in",
debug=false,
"http://192.168.1.100:8002/live1"
)))
security=blank()
all_in = amplify(3.0,all_in_for_operator)
radio = fallback(track_sensitive = false,
[all_in, file, security])
output.alsa(
fallible = true,
device="pcm.out2",
buffer(radio)
)
If http.input source is active on remote server then alsa send data "all_in".
If http.input source is down on remote server then source "file" not play. And
log contain:
[source:4] Garbage collected empty_6020.
[local_operator_in:4] Connecting to <http://192.168.1.100:8002/live1>...
[local_operator_in:4] Connection failed: Http.Unix_transport.Socket
[local_operator_in:4] Connecting to <http://192.168.1.100:8002/live1>...
[local_operator_in:4] Connection failed: Http.Unix_transport.Socket
[local_operator_in:4] Connecting to <http://192.168.1.100:8002/live1>...
[local_operator_in:4] Connection failed: Http.Unix_transport.Socket
[local_operator_in:4] Connecting to <http://192.168.1.100:8002/live1>...
[local_operator_in:4] Connection failed: Http.Unix_transport.Socket
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/585
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users