diff --git a/src/video_pipeline.c b/src/video_pipeline.c index cbbb276..531cf0d 100644 --- a/src/video_pipeline.c +++ b/src/video_pipeline.c @@ -803,19 +803,6 @@ static int video_sender_check_session_stale( snprintf(reason, reason_len, "video session stale: server reported unregistered"); return 1; } - if ( - config->server_idle_reconnect_ms > 0 - && client_state.server_idle_ms >= (uint32_t) config->server_idle_reconnect_ms - ) { - snprintf( - reason, - reason_len, - "video session stale: server idle timeout (%u ms >= %d ms)", - client_state.server_idle_ms, - config->server_idle_reconnect_ms - ); - return 1; - } if (video_server_error_requires_reconnect(client_state.last_server_error)) { snprintf(reason, reason_len, "video session stale: server error %.180s", client_state.last_server_error); return 1;