]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
set the session timeout to one minute by default.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Sat, 29 Jun 2024 19:02:09 +0000 (20:02 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Sat, 29 Jun 2024 19:02:09 +0000 (20:02 +0100)
shairport.c

index 7a184ce6cbef80d4590e95197162001b1d23a3b9..29f7f4684299f85de2bb5860a08aa36fec82a9a9 100644 (file)
@@ -2039,8 +2039,8 @@ int main(int argc, char **argv) {
   config.debugger_show_file_and_line =
       1; // by default, log the file and line of the originating message
   config.debugger_show_relative_time =
-      1;                // by default, log the  time back to the previous debug message
-  config.timeout = 120; // this number of seconds to wait for [more] audio before switching to idle.
+      1;                // by default, log the time back to the previous debug message
+  config.timeout = 60; // wait this number of seconds to wait for a dropped RTSP connection to come back before declaring it lost.
   config.buffer_start_fill = 220;
 
   config.resync_threshold = 0.050;   // default