From 7ffedf21241e26037b35ea9fef3d3317a4f09aad Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Fri, 20 Feb 2015 11:24:22 +0100 Subject: [PATCH] RTP: update seq even in promisc mode This fixes lost packets computation. --- src/rtp/rtp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rtp/rtp.c b/src/rtp/rtp.c index ce26b5a15..cc2f7cd7d 100644 --- a/src/rtp/rtp.c +++ b/src/rtp/rtp.c @@ -1516,6 +1516,7 @@ static void rtp_process_data(struct rtp *session, uint32_t curr_rtp_ts, FALSE); s = get_source(session, packet->ssrc); } + update_seq(s, packet->seq); process_rtp(session, curr_rtp_ts, packet, s); return; /* We don't free "packet", that's done by the callback function... */ }