Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Issue 1198853004: Add statistics gathering for packet loss. (Closed)

Created:
5 years, 6 months ago by bcornell
Modified:
5 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add statistics gathering for packet loss. Adds a class used to classify whether packet loss events are a single packet or multiple packets as well as how many packets have been lost. Also exposes a new function in the RtpRtcp interface to retrieve these statistics. BUG= Committed: https://crrev.com/30409b4dca3d9cfdb0e714a5932b135becb0f822 Cr-Commit-Position: refs/heads/master@{#9568}

Patch Set 1 #

Total comments: 26

Patch Set 2 : Updated to deal with multiple receive SSRCs. #

Total comments: 2

Patch Set 3 : Fixes based on review comments and better handling of sparse loss. #

Total comments: 5

Patch Set 4 : Remove multiple receive stats instances. #

Patch Set 5 : Add explicit include for initializer_list to fix Mac build. #

Patch Set 6 : Trying again to get Mac building. #

Patch Set 7 : On to the next Mac-only build issue #

Patch Set 8 : Typo in last update #

Patch Set 9 : Don't use C++11 erase, it doesn't work on Mac. #

Patch Set 10 : Another hopeful Mac build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+459 lines, -0 lines) Patch
M webrtc/modules/modules.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/rtp_rtcp.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A webrtc/modules/rtp_rtcp/source/packet_loss_stats.h View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
A webrtc/modules/rtp_rtcp/source/packet_loss_stats.cc View 1 2 3 4 5 6 7 8 9 1 chunk +137 lines, -0 lines 0 comments Download
A webrtc/modules/rtp_rtcp/source/packet_loss_stats_unittest.cc View 1 chunk +197 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc View 1 2 3 3 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
bcornell
5 years, 6 months ago (2015-06-22 23:18:23 UTC) #2
noahric
https://codereview.webrtc.org/1198853004/diff/1/webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h File webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h (right): https://codereview.webrtc.org/1198853004/diff/1/webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h#newcode357 webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h:357: struct RtpPacketLossStats { Comment for this struct and each ...
5 years, 6 months ago (2015-06-26 00:21:19 UTC) #3
harryjin
https://codereview.webrtc.org/1198853004/diff/20001/webrtc/modules/rtp_rtcp/source/packet_loss_stats.cc File webrtc/modules/rtp_rtcp/source/packet_loss_stats.cc (right): https://codereview.webrtc.org/1198853004/diff/20001/webrtc/modules/rtp_rtcp/source/packet_loss_stats.cc#newcode75 webrtc/modules/rtp_rtcp/source/packet_loss_stats.cc:75: } else if (sequential_count > 1) { Just else ...
5 years, 5 months ago (2015-06-30 18:17:03 UTC) #5
bcornell
https://codereview.webrtc.org/1198853004/diff/1/webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h File webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h (right): https://codereview.webrtc.org/1198853004/diff/1/webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h#newcode357 webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h:357: struct RtpPacketLossStats { On 2015/06/26 00:21:19, noahric wrote: > ...
5 years, 5 months ago (2015-06-30 19:47:46 UTC) #6
mflodman
Sorry for the delayed response when working through my review backlog. I'll be OOO the ...
5 years, 5 months ago (2015-07-03 13:15:50 UTC) #8
åsapersson
https://codereview.webrtc.org/1198853004/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/1198853004/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode720 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:720: auto it = receive_loss_stats_.find(remote_ssrc); The remote_ssrc is the SSRC ...
5 years, 5 months ago (2015-07-06 13:57:24 UTC) #9
stefan-webrtc
https://codereview.webrtc.org/1198853004/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/1198853004/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode730 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:730: } Is this new functionality supposed to track how ...
5 years, 5 months ago (2015-07-06 14:13:36 UTC) #11
bcornell
https://codereview.webrtc.org/1198853004/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/1198853004/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode720 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:720: auto it = receive_loss_stats_.find(remote_ssrc); On 2015/07/06 13:57:24, asapersson wrote: ...
5 years, 5 months ago (2015-07-08 18:28:12 UTC) #12
åsapersson
https://codereview.webrtc.org/1198853004/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/1198853004/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode730 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:730: } On 2015/07/08 18:28:12, bcornell wrote: > On 2015/07/06 ...
5 years, 5 months ago (2015-07-09 06:26:54 UTC) #13
åsapersson
Note that NACK requests may not necessarily be sent for all lost packets. If losing ...
5 years, 5 months ago (2015-07-10 13:48:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1198853004/180001
5 years, 5 months ago (2015-07-10 21:10:18 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_rel on ...
5 years, 5 months ago (2015-07-10 21:59:47 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1198853004/180001
5 years, 5 months ago (2015-07-10 23:59:55 UTC) #21
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 5 months ago (2015-07-11 01:10:08 UTC) #22
commit-bot: I haz the power
5 years, 5 months ago (2015-07-11 01:10:18 UTC) #23
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/30409b4dca3d9cfdb0e714a5932b135becb0f822
Cr-Commit-Position: refs/heads/master@{#9568}

Powered by Google App Engine
This is Rietveld 408576698