DescriptionAdd stats for frequency offset when converting RTP timestamp to NTP time.
- Add histogram: "WebRTC.Video.RtpToNtpFreqOffsetInKhz"
The absolute value of the difference between the estimated frequency during RTP timestamp to NTP time conversion and the actual value (i.e. 90 kHz) is measured per received video frame. The max offset during 40 second intervals is stored. The average of these stored offsets per received video stream is recorded when a stream is removed.
Updated rtp_to_ntp.cc:
- Add validation for only inserting newer RTCP sender reports to the rtcp list.
- Move calculation of frequency/offset (from RTP/NTP timestamp pairs) to UpdateRtcpList. Calculated when a new RTCP SR in inserted (and not in RtpToNtpMs per packet).
BUG=webrtc:6579
Committed: https://crrev.com/de9e5fffa21401df94fd89b15be5e549cbe3e142
Cr-Commit-Position: refs/heads/master@{#14891}
Patch Set 1 #Patch Set 2 #Patch Set 3 #Patch Set 4 #Patch Set 5 #
Total comments: 2
Patch Set 6 : draft #Patch Set 7 : calculate freq/offset when rtcp list is updated #
Total comments: 4
Patch Set 8 : add comments #Patch Set 9 : rebase #Patch Set 10 : remove unused return value and updated unittests #Patch Set 11 : rebase #
Total comments: 3
Patch Set 12 : rebase #Messages
Total messages: 32 (21 generated)
|