From 321196e206ced9814227dfa89c50581f7ceb1911 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 28 Jan 2015 14:04:31 -0500 Subject: [PATCH] fix to reset timeout flag upon receiving something --- src/zm_rtp_ctrl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zm_rtp_ctrl.cpp b/src/zm_rtp_ctrl.cpp index 80495fa85..858daa97f 100644 --- a/src/zm_rtp_ctrl.cpp +++ b/src/zm_rtp_ctrl.cpp @@ -327,6 +327,8 @@ int RtpCtrlThread::run() Error( "RTCP timed out" ); break; } + } else { + timeout = false; } for ( Select::CommsList::iterator iter = readable.begin(); iter != readable.end(); iter++ ) {