From 22c436c85e0dd81702b4e9289b90755b7310982f Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Wed, 9 Jan 2013 18:56:17 +0200 Subject: rtpdec: Send a valid "delay since SR" value in the RTCP RR packets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously, we always signalled a zero time since the last RTCP SR, which is dubious. The code also suggested that this would be the difference in RTP NTP time units (32.32 fixed point), while it actually is in in 1/65536 second units. (RFC 3550 section 6.4.1) Signed-off-by: Martin Storsjö --- libavformat/rtpdec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/rtpdec.h') diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index ee085b1843..6c808cdd57 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -175,6 +175,7 @@ struct RTPDemuxContext { /* rtcp sender statistics receive */ int64_t last_rtcp_ntp_time; + int64_t last_rtcp_reception_time; int64_t first_rtcp_ntp_time; uint32_t last_rtcp_timestamp; int64_t rtcp_ts_offset; -- cgit v1.2.3