Commit 25a340a6 authored by David Trattnig's avatar David Trattnig
Browse files

Configurable input stream buffer.

parent 80690b1b
......@@ -73,6 +73,7 @@ preload_offset=60
# overall playout, it's delays and possible fallbacks
stream_connect_retry_delay=1
stream_connect_max_retries=10
input_stream_buffer=3.0
# sets the time how long we have to fade in and out, when we select another mixer input
# values are in seconds
......
......@@ -73,6 +73,7 @@ preload_offset=60
# overall playout, it's delays and possible fallbacks
stream_connect_retry_delay=1
stream_connect_max_retries=10
input_stream_buffer=3.0
# sets the time how long we have to fade in and out, when we select another mixer input
# values are in seconds
......
......@@ -73,6 +73,7 @@ preload_offset=60
# overall playout, it's delays and possible fallbacks
stream_connect_retry_delay=1
stream_connect_max_retries=10
input_stream_buffer=3.0
# sets the time how long we have to fade in and out, when we select another mixer input
# values are in seconds
......
......@@ -38,10 +38,10 @@ https_starturl = "https://securestream.o94.at/live.mp3"
input_http_0 = input.http(id="in_http_0", buffer=3.0, max=60.0, timeout=60.0, autostart=false, http_starturl)
input_http_1 = input.http(id="in_http_1", buffer=3.0, max=60.0, timeout=60.0, autostart=false, http_starturl)
input_https_0 = input.https(id="in_https_0", buffer=3.0, max=60.0, timeout=60.0, autostart=false, https_starturl)
input_https_1 = input.https(id="in_https_1", buffer=3.0, max=60.0, timeout=60.0, autostart=false, https_starturl)
input_http_0 = input.http(id="in_http_0", buffer=input_stream_buffer, max=60.0, timeout=60.0, autostart=false, http_starturl)
input_http_1 = input.http(id="in_http_1", buffer=input_stream_buffer, max=60.0, timeout=60.0, autostart=false, http_starturl)
input_https_0 = input.https(id="in_https_0", buffer=input_stream_buffer, max=60.0, timeout=60.0, autostart=false, https_starturl)
input_https_1 = input.https(id="in_https_1", buffer=input_stream_buffer, max=60.0, timeout=60.0, autostart=false, https_starturl)
# Route input stream to an dummy output to avoid buffer-overrun messages
# output.dummy(id="SPAM_HTTP_OUTPUT_0", fallible=true, input_http_0)
......
......@@ -59,6 +59,8 @@ a2_out = list.assoc(default="", "output_device_2", ini)
a3_out = list.assoc(default="", "output_device_3", ini)
a4_out = list.assoc(default="", "output_device_4", ini)
input_stream_buffer = float_of_string(list.assoc(default="3.0", "input_stream_buffer", ini))
# FALLBACK SETTINGS
fallback_max_blank = float_of_string(list.assoc(default="", "fallback_max_blank", ini))
fallback_min_noise = float_of_string(list.assoc(default="", "fallback_min_noise", ini))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment