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

Issue 2707383006: GetTransportFeedbackVector() includes unreceived packets, sorted by seq-num (Closed)

Created:
3 years, 10 months ago by elad.alon
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, danilchap, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

GetTransportFeedbackVector return vector with lost packets too, sorted by seq-num 1. GetTransportFeedbackVector will now return a vector which also explicitly states lost packets. 2. The returned vector is unsorted (uses default order - by sequence number). It's up to the users to sort otherwise, if they need a different order. BUG=None Review-Url: https://codereview.webrtc.org/2707383006 Cr-Commit-Position: refs/heads/master@{#17114} Committed: https://chromium.googlesource.com/external/webrtc/+/ec304f96b30ef679708971889b2fcab15481fb1b

Patch Set 1 #

Total comments: 9

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : Efficiency improvement. #

Patch Set 4 : nits #

Patch Set 5 : Response to CR #

Total comments: 4

Patch Set 6 : Response to CR. #

Patch Set 7 : Rebased and event-log-visualizer modified. #

Total comments: 3

Patch Set 8 : CR response #

Total comments: 1

Patch Set 9 : SortPacketFeedbackVector moved out of class. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -39 lines) Patch
M webrtc/modules/congestion_controller/delay_based_bwe.cc View 1 2 3 4 5 6 7 4 chunks +30 lines, -3 lines 0 comments Download
M webrtc/modules/congestion_controller/transport_feedback_adapter.cc View 1 2 3 4 5 3 chunks +27 lines, -15 lines 0 comments Download
M webrtc/modules/congestion_controller/transport_feedback_adapter_unittest.cc View 1 2 3 4 5 5 chunks +46 lines, -20 lines 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/tools/event_log_visualizer/analyzer.cc View 1 2 3 4 5 6 7 8 3 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
stefan-webrtc
https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/delay_based_bwe.cc File webrtc/modules/congestion_controller/delay_based_bwe.cc (right): https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/delay_based_bwe.cc#newcode450 webrtc/modules/congestion_controller/delay_based_bwe.cc:450: std::sort(output->begin(), output->end(), PacketFeedbackComparator()); Should we do this in-place instead ...
3 years, 10 months ago (2017-02-24 09:28:57 UTC) #2
elad.alon_webrtc.org
https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/delay_based_bwe.cc File webrtc/modules/congestion_controller/delay_based_bwe.cc (right): https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/delay_based_bwe.cc#newcode450 webrtc/modules/congestion_controller/delay_based_bwe.cc:450: std::sort(output->begin(), output->end(), PacketFeedbackComparator()); On 2017/02/24 09:28:57, stefan-webrtc wrote: > ...
3 years, 9 months ago (2017-02-27 09:43:49 UTC) #3
elad.alon_webrtc.org
3 years, 9 months ago (2017-02-27 19:48:54 UTC) #5
elad.alon_webrtc.org
On 2017/02/27 19:48:54, elad.alon wrote: TODO: 1. Extend UT coverage further, to make sure they ...
3 years, 9 months ago (2017-02-27 21:21:25 UTC) #7
stefan-webrtc
https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.cc File webrtc/modules/congestion_controller/transport_feedback_adapter.cc (right): https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.cc#newcode141 webrtc/modules/congestion_controller/transport_feedback_adapter.cc:141: for (; seq_no != packet.sequence_number(); ++seq_no) { On 2017/02/27 ...
3 years, 9 months ago (2017-02-28 14:51:12 UTC) #8
stefan-webrtc
https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/delay_based_bwe.cc File webrtc/modules/congestion_controller/delay_based_bwe.cc (right): https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/delay_based_bwe.cc#newcode450 webrtc/modules/congestion_controller/delay_based_bwe.cc:450: std::sort(output->begin(), output->end(), PacketFeedbackComparator()); On 2017/02/27 09:43:48, elad.alon wrote: > ...
3 years, 9 months ago (2017-02-28 14:54:31 UTC) #9
elad.alon_webrtc.org
https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.cc File webrtc/modules/congestion_controller/transport_feedback_adapter.cc (right): https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.cc#newcode141 webrtc/modules/congestion_controller/transport_feedback_adapter.cc:141: for (; seq_no != packet.sequence_number(); ++seq_no) { On 2017/02/28 ...
3 years, 9 months ago (2017-02-28 15:20:18 UTC) #10
terelius
https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.cc File webrtc/modules/congestion_controller/transport_feedback_adapter.cc (right): https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.cc#newcode141 webrtc/modules/congestion_controller/transport_feedback_adapter.cc:141: for (; seq_no != packet.sequence_number(); ++seq_no) { On 2017/02/28 ...
3 years, 9 months ago (2017-02-28 16:05:58 UTC) #11
elad.alon_webrtc.org
https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.cc File webrtc/modules/congestion_controller/transport_feedback_adapter.cc (right): https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.cc#newcode141 webrtc/modules/congestion_controller/transport_feedback_adapter.cc:141: for (; seq_no != packet.sequence_number(); ++seq_no) { On 2017/02/28 ...
3 years, 9 months ago (2017-02-28 16:17:30 UTC) #12
elad.alon_webrtc.org
On 2017/02/28 16:17:30, elad.alon wrote: > https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.cc > File webrtc/modules/congestion_controller/transport_feedback_adapter.cc (right): > > https://codereview.webrtc.org/2707383006/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.cc#newcode141 > ...
3 years, 9 months ago (2017-02-28 18:07:19 UTC) #13
stefan-webrtc
https://codereview.webrtc.org/2707383006/diff/80001/webrtc/modules/congestion_controller/transport_feedback_adapter.cc File webrtc/modules/congestion_controller/transport_feedback_adapter.cc (right): https://codereview.webrtc.org/2707383006/diff/80001/webrtc/modules/congestion_controller/transport_feedback_adapter.cc#newcode133 webrtc/modules/congestion_controller/transport_feedback_adapter.cc:133: received_packets[received_packets.size() - 1].sequence_number(); received_packets.back().sequence_number() https://codereview.webrtc.org/2707383006/diff/80001/webrtc/modules/congestion_controller/transport_feedback_adapter.cc#newcode146 webrtc/modules/congestion_controller/transport_feedback_adapter.cc:146: uint16_t seq_no = ...
3 years, 9 months ago (2017-03-03 20:11:13 UTC) #14
elad.alon_webrtc.org
Anything else I could improve? https://codereview.webrtc.org/2707383006/diff/80001/webrtc/modules/congestion_controller/transport_feedback_adapter.cc File webrtc/modules/congestion_controller/transport_feedback_adapter.cc (right): https://codereview.webrtc.org/2707383006/diff/80001/webrtc/modules/congestion_controller/transport_feedback_adapter.cc#newcode133 webrtc/modules/congestion_controller/transport_feedback_adapter.cc:133: received_packets[received_packets.size() - 1].sequence_number(); On ...
3 years, 9 months ago (2017-03-06 12:24:58 UTC) #15
elad.alon_webrtc.org
https://codereview.webrtc.org/2707383006/diff/120001/webrtc/tools/event_log_visualizer/analyzer.cc File webrtc/tools/event_log_visualizer/analyzer.cc (right): https://codereview.webrtc.org/2707383006/diff/120001/webrtc/tools/event_log_visualizer/analyzer.cc#newcode46 webrtc/tools/event_log_visualizer/analyzer.cc:46: class PacketFeedbackComparator { This is now duplicated with delay_based_bwe.cc. ...
3 years, 9 months ago (2017-03-06 18:28:02 UTC) #16
stefan-webrtc
https://codereview.webrtc.org/2707383006/diff/120001/webrtc/modules/congestion_controller/delay_based_bwe.cc File webrtc/modules/congestion_controller/delay_based_bwe.cc (right): https://codereview.webrtc.org/2707383006/diff/120001/webrtc/modules/congestion_controller/delay_based_bwe.cc#newcode442 webrtc/modules/congestion_controller/delay_based_bwe.cc:442: void DelayBasedBwe::SortPacketFeedbackVector( This should be in the anonymous namespace ...
3 years, 9 months ago (2017-03-07 12:04:18 UTC) #17
elad.alon_webrtc.org
https://codereview.webrtc.org/2707383006/diff/120001/webrtc/modules/congestion_controller/delay_based_bwe.cc File webrtc/modules/congestion_controller/delay_based_bwe.cc (right): https://codereview.webrtc.org/2707383006/diff/120001/webrtc/modules/congestion_controller/delay_based_bwe.cc#newcode442 webrtc/modules/congestion_controller/delay_based_bwe.cc:442: void DelayBasedBwe::SortPacketFeedbackVector( On 2017/03/07 12:04:18, stefan-webrtc wrote: > This ...
3 years, 9 months ago (2017-03-07 12:11:07 UTC) #18
terelius
lgtm wit one nit: https://codereview.webrtc.org/2707383006/diff/140001/webrtc/tools/event_log_visualizer/analyzer.cc File webrtc/tools/event_log_visualizer/analyzer.cc (right): https://codereview.webrtc.org/2707383006/diff/140001/webrtc/tools/event_log_visualizer/analyzer.cc#newcode572 webrtc/tools/event_log_visualizer/analyzer.cc:572: void EventLogAnalyzer::SortPacketFeedbackVector( This method does ...
3 years, 9 months ago (2017-03-08 11:59:58 UTC) #19
stefan-webrtc
lgtm from me too with terelius nit fixed.
3 years, 9 months ago (2017-03-08 12:05:06 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2707383006/160001
3 years, 9 months ago (2017-03-08 12:40:23 UTC) #24
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 13:03:57 UTC) #27
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/external/webrtc/+/ec304f96b30ef679708971889...

Powered by Google App Engine
This is Rietveld 408576698