From dad778cb8dbe5838f0ef8a12bcceef29464713c7 Mon Sep 17 00:00:00 2001 From: CyBHFal <32815303+CyBHFal@users.noreply.github.com> Date: Thu, 13 Aug 2020 17:03:47 +0200 Subject: [PATCH] Error in backport to correct issue #111 Commit fc548ee introduce a RTP latency due to polling of RTP streams only one tick out of 7 --- src/rtpp_proc_async.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rtpp_proc_async.c b/src/rtpp_proc_async.c index 3138c039f..39af9726e 100644 --- a/src/rtpp_proc_async.c +++ b/src/rtpp_proc_async.c @@ -234,8 +234,10 @@ rtpp_proc_async_run(void *arg) CALL_METHOD(cf->stable->sessinfo, sync_polltbl, &ptbl_rtp, PIPE_RTP); if (rtp_only == 0) { CALL_METHOD(cf->stable->sessinfo, sync_polltbl, &ptbl_rtcp, PIPE_RTCP); + } nready_rtp = nready_rtcp = 0; if (ptbl_rtp.curlen > 0) { + if (rtp_only == 0) { #if RTPP_DEBUG_netio > 1 RTPP_LOG(cf->stable->glog, RTPP_LOG_DBUG, "run %lld " \ "polling for %d RTCP file descriptors", \