File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/AudioTools/Communication/RTSP Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -307,11 +307,14 @@ class RTSPServer {
307307 lastRequestTime = millis ();
308308 LOGD (" Request handling successful" );
309309 } else {
310- LOGI (" Request handling timed out or no data yet" );
310+ // Only log timeout if we're actively streaming, not during setup phase
311+ if (rtsp->isStreaming ()) {
312+ LOGI (" Request handling timed out or no data yet" );
313+ }
311314 }
312315
313316 // If streaming, check for session timeout
314- if (sessionTimeoutMs > 0 && m_sessionTrtsp ->isStreaming ()) {
317+ if (sessionTimeoutMs > 0 && rtsp ->isStreaming ()) {
315318 if ((millis () - lastRequestTime) > sessionTimeoutMs) {
316319 LOGW (" Session timeout: no client request received for 20 seconds, closing session" );
317320 break ;
You can’t perform that action at this time.
0 commit comments