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

Issue 2399373002: Only advance |first_seq_num_| if packets are explicitly cleared from the PacketBuffer. (Closed)

Created:
4 years, 2 months ago by philipel
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Only advance |first_seq_num_| if packets are explicitly cleared from the PacketBuffer. In this CL: - Don't insert a packet if we have explicitly cleared past it. - Added some logging to ExpandBufferSize. - Renamed IsContinuous to PotentialNewFrame. - Unittests updated/added for this new behavior. - Refactored TestPacketBuffer unittests. BUG=webrtc:5514 R=danilchap@webrtc.org, stefan@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/aee3e0eb321c57b6fdbe5d763670a33a58acda2e

Patch Set 1 #

Total comments: 25

Patch Set 2 : Feedback fixes. #

Total comments: 7

Patch Set 3 : Feedback fixes. #

Total comments: 4

Patch Set 4 : Compile fix #

Patch Set 5 : Compile fix 2 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -153 lines) Patch
A third_party/drmemory View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/packet_buffer.h View 1 2 3 chunks +7 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/packet_buffer.cc View 1 2 10 chunks +52 lines, -28 lines 2 comments Download
M webrtc/modules/video_coding/video_packet_buffer_unittest.cc View 1 2 3 4 7 chunks +148 lines, -123 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
philipel
4 years, 2 months ago (2016-10-07 14:31:30 UTC) #2
danilchap
https://codereview.webrtc.org/2399373002/diff/1/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2399373002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#newcode55 webrtc/modules/video_coding/packet_buffer.cc:55: PacketBuffer::~PacketBuffer() {} call Clear? https://codereview.webrtc.org/2399373002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#newcode78 webrtc/modules/video_coding/packet_buffer.cc:78: return true; what ...
4 years, 2 months ago (2016-10-07 18:25:37 UTC) #3
philipel
https://codereview.webrtc.org/2399373002/diff/1/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2399373002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#newcode55 webrtc/modules/video_coding/packet_buffer.cc:55: PacketBuffer::~PacketBuffer() {} On 2016/10/07 18:25:37, danilchap wrote: > call ...
4 years, 2 months ago (2016-10-18 12:22:19 UTC) #4
stefan-webrtc
https://codereview.webrtc.org/2399373002/diff/20001/webrtc/modules/video_coding/packet_buffer.h File webrtc/modules/video_coding/packet_buffer.h (right): https://codereview.webrtc.org/2399373002/diff/20001/webrtc/modules/video_coding/packet_buffer.h#newcode132 webrtc/modules/video_coding/packet_buffer.h:132: bool has_cleared_to_ GUARDED_BY(crit_); I have a hard time understanding ...
4 years, 2 months ago (2016-10-18 17:57:23 UTC) #5
philipel
https://codereview.webrtc.org/2399373002/diff/20001/webrtc/modules/video_coding/packet_buffer.h File webrtc/modules/video_coding/packet_buffer.h (right): https://codereview.webrtc.org/2399373002/diff/20001/webrtc/modules/video_coding/packet_buffer.h#newcode132 webrtc/modules/video_coding/packet_buffer.h:132: bool has_cleared_to_ GUARDED_BY(crit_); On 2016/10/18 17:57:23, stefan-webrtc (holmer) wrote: ...
4 years, 2 months ago (2016-10-19 08:34:54 UTC) #6
danilchap
https://codereview.webrtc.org/2399373002/diff/1/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2399373002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#newcode78 webrtc/modules/video_coding/packet_buffer.cc:78: return true; On 2016/10/18 12:22:19, philipel wrote: > On ...
4 years, 2 months ago (2016-10-19 09:25:10 UTC) #7
philipel
https://codereview.webrtc.org/2399373002/diff/1/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2399373002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#newcode78 webrtc/modules/video_coding/packet_buffer.cc:78: return true; On 2016/10/19 09:25:10, danilchap wrote: > On ...
4 years, 2 months ago (2016-10-19 13:08:50 UTC) #8
danilchap
lgtm https://codereview.webrtc.org/2399373002/diff/40001/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2399373002/diff/40001/webrtc/modules/video_coding/packet_buffer.cc#newcode183 webrtc/modules/video_coding/packet_buffer.cc:183: // index is because we want to avoid ...
4 years, 2 months ago (2016-10-20 10:37:56 UTC) #9
philipel
ping
4 years, 1 month ago (2016-10-24 08:59:16 UTC) #18
philipel
https://codereview.webrtc.org/2399373002/diff/40001/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2399373002/diff/40001/webrtc/modules/video_coding/packet_buffer.cc#newcode183 webrtc/modules/video_coding/packet_buffer.cc:183: // index is because we want to avoid an ...
4 years, 1 month ago (2016-10-25 09:20:45 UTC) #19
stefan-webrtc
lgtm assuming the test exists. https://codereview.webrtc.org/2399373002/diff/80001/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2399373002/diff/80001/webrtc/modules/video_coding/packet_buffer.cc#newcode186 webrtc/modules/video_coding/packet_buffer.cc:186: return true; Do we ...
4 years, 1 month ago (2016-10-31 15:13:56 UTC) #20
philipel
https://codereview.webrtc.org/2399373002/diff/80001/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2399373002/diff/80001/webrtc/modules/video_coding/packet_buffer.cc#newcode186 webrtc/modules/video_coding/packet_buffer.cc:186: return true; On 2016/10/31 15:13:56, stefan-webrtc (holmer) wrote: > ...
4 years, 1 month ago (2016-10-31 15:16:33 UTC) #21
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/2399373002/80001
4 years, 1 month ago (2016-10-31 15:16:46 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 1 month ago (2016-10-31 17:17:12 UTC) #26
philipel
4 years, 1 month ago (2016-11-01 10:45:48 UTC) #29
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
aee3e0eb321c57b6fdbe5d763670a33a58acda2e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698