From fe8c6dd2437e7849db45a1a52ebe4a736dfca131 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sat, 29 Jun 2024 20:02:09 +0100 Subject: [PATCH] set the session timeout to one minute by default. --- shairport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shairport.c b/shairport.c index 7a184ce6..29f7f468 100644 --- a/shairport.c +++ b/shairport.c @@ -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