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

Issue 2480293002: New jitter buffer experiment. (Closed)

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

Description

New jitter buffer experiment. BUG=webrtc:5514 Committed: https://crrev.com/fd5a20fd683c826bb26b3a03abb068c1ce084a7b Cr-Commit-Position: refs/heads/master@{#15077}

Patch Set 1 #

Patch Set 2 #

Patch Set 3 #

Total comments: 48

Patch Set 4 : Feedback Fixes. #

Total comments: 2

Patch Set 5 : VP9 pid/tl0 jump fix + PacketBuffer CritScope fix. #

Patch Set 6 : jitter_buffer_experiment_ made const. #

Total comments: 20

Patch Set 7 : Vp9PidTl0Fix unittests + clean up. #

Total comments: 1

Patch Set 8 : Nit fix. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+735 lines, -82 lines) Patch
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/frame_buffer2.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/frame_buffer2_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/packet_buffer.h View 1 2 3 4 5 6 2 chunks +5 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/packet_buffer.cc View 1 2 3 4 5 chunks +49 lines, -43 lines 2 comments Download
M webrtc/modules/video_coding/rtp_frame_reference_finder.h View 1 2 3 4 5 6 3 chunks +32 lines, -5 lines 0 comments Download
M webrtc/modules/video_coding/rtp_frame_reference_finder.cc View 1 2 3 4 5 6 7 2 chunks +145 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/rtp_frame_reference_finder_unittest.cc View 1 2 3 4 5 6 3 chunks +232 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/timing.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/video_coding_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/video_receiver.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M webrtc/video/rtp_stream_receiver.h View 1 2 3 4 chunks +58 lines, -14 lines 0 comments Download
M webrtc/video/rtp_stream_receiver.cc View 1 9 chunks +117 lines, -6 lines 0 comments Download
M webrtc/video/video_receive_stream.h View 1 2 3 4 5 5 chunks +15 lines, -1 line 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 2 3 4 5 9 chunks +64 lines, -3 lines 0 comments Download

Messages

Total messages: 34 (13 generated)
philipel
https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/frame_buffer2_unittest.cc File webrtc/modules/video_coding/frame_buffer2_unittest.cc (right): https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/frame_buffer2_unittest.cc#newcode302 webrtc/modules/video_coding/frame_buffer2_unittest.cc:302: InsertFrame(pid + 1, 0, ts + kFps20, false, pid); ...
4 years, 1 month ago (2016-11-08 09:27:13 UTC) #3
stefan-webrtc
+nisse who may have some useful comments on this. https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right): https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc#newcode261 webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:261: ...
4 years, 1 month ago (2016-11-08 10:41:35 UTC) #5
nisse-webrtc
https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/frame_buffer2.cc#newcode117 webrtc/modules/video_coding/frame_buffer2.cc:117: uint32_t timestamp = frame->timestamp; Would be better with an ...
4 years, 1 month ago (2016-11-08 11:56:30 UTC) #6
philipel
https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right): https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc#newcode261 webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:261: tl0_pic_idx_ = static_cast<uint8_t>(rand()); // NOLINT On 2016/11/08 10:41:34, stefan-webrtc ...
4 years, 1 month ago (2016-11-08 12:28:40 UTC) #7
danilchap
https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/frame_buffer2.cc#newcode117 webrtc/modules/video_coding/frame_buffer2.cc:117: uint32_t timestamp = frame->timestamp; On 2016/11/08 12:28:39, philipel wrote: ...
4 years, 1 month ago (2016-11-08 12:37:21 UTC) #8
nisse-webrtc
https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/frame_buffer2.cc#newcode117 webrtc/modules/video_coding/frame_buffer2.cc:117: uint32_t timestamp = frame->timestamp; On 2016/11/08 12:28:39, philipel wrote: ...
4 years, 1 month ago (2016-11-08 12:58:12 UTC) #9
philipel
https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/frame_buffer2.cc#newcode117 webrtc/modules/video_coding/frame_buffer2.cc:117: uint32_t timestamp = frame->timestamp; On 2016/11/08 12:37:21, danilchap wrote: ...
4 years, 1 month ago (2016-11-08 13:35:51 UTC) #10
stefan-webrtc
https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right): https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc#newcode261 webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:261: tl0_pic_idx_ = static_cast<uint8_t>(rand()); // NOLINT On 2016/11/08 12:28:39, philipel ...
4 years, 1 month ago (2016-11-08 14:49:27 UTC) #11
danilchap
Since I'm not familiar enough with receive stream code and this CL is about wiring ...
4 years, 1 month ago (2016-11-08 14:58:16 UTC) #14
philipel
https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right): https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc#newcode261 webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:261: tl0_pic_idx_ = static_cast<uint8_t>(rand()); // NOLINT On 2016/11/08 14:49:27, stefan-webrtc ...
4 years, 1 month ago (2016-11-10 16:13:53 UTC) #15
nisse-webrtc
https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2480293002/diff/60001/webrtc/modules/video_coding/frame_buffer2.cc#newcode117 webrtc/modules/video_coding/frame_buffer2.cc:117: uint32_t timestamp = frame->timestamp; On 2016/11/08 13:35:51, philipel wrote: ...
4 years, 1 month ago (2016-11-11 07:53:12 UTC) #16
stefan-webrtc
This jump detection / correction is pretty complex and non-trivial to review. Whatever we can ...
4 years, 1 month ago (2016-11-14 12:00:26 UTC) #17
philipel
https://codereview.webrtc.org/2480293002/diff/120001/webrtc/modules/video_coding/packet_buffer.h File webrtc/modules/video_coding/packet_buffer.h (right): https://codereview.webrtc.org/2480293002/diff/120001/webrtc/modules/video_coding/packet_buffer.h#newcode102 webrtc/modules/video_coding/packet_buffer.h:102: // Return a vector received frames. On 2016/11/14 12:00:26, ...
4 years, 1 month ago (2016-11-14 15:31:04 UTC) #18
stefan-webrtc
lgtm % nit https://codereview.webrtc.org/2480293002/diff/140001/webrtc/modules/video_coding/rtp_frame_reference_finder.cc File webrtc/modules/video_coding/rtp_frame_reference_finder.cc (right): https://codereview.webrtc.org/2480293002/diff/140001/webrtc/modules/video_coding/rtp_frame_reference_finder.cc#newcode641 webrtc/modules/video_coding/rtp_frame_reference_finder.cc:641: has_jumped |= DetectVp9Tl0PicIdxJump(fixed_tl0, frame.timestamp); Call this ...
4 years, 1 month ago (2016-11-14 15:36:23 UTC) #19
stefan-webrtc
You should probably get an lg from nisse too before landing.
4 years, 1 month ago (2016-11-14 15:36:40 UTC) #20
philipel
Nisse, PTAL
4 years, 1 month ago (2016-11-14 15:40:29 UTC) #23
nisse-webrtc
lgtm https://codereview.webrtc.org/2480293002/diff/160001/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2480293002/diff/160001/webrtc/modules/video_coding/packet_buffer.cc#newcode79 webrtc/modules/video_coding/packet_buffer.cc:79: if (sequence_buffer_[index].used) { I suspect the sequence_buffer_ logic ...
4 years, 1 month ago (2016-11-15 08:36:29 UTC) #26
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/2480293002/160001
4 years, 1 month ago (2016-11-15 08:42:22 UTC) #29
stefan-webrtc
https://codereview.webrtc.org/2480293002/diff/160001/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2480293002/diff/160001/webrtc/modules/video_coding/packet_buffer.cc#newcode79 webrtc/modules/video_coding/packet_buffer.cc:79: if (sequence_buffer_[index].used) { On 2016/11/15 08:36:29, nisse-webrtc wrote: > ...
4 years, 1 month ago (2016-11-15 08:55:48 UTC) #30
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 1 month ago (2016-11-15 08:58:02 UTC) #32
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 08:58:12 UTC) #34
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/fd5a20fd683c826bb26b3a03abb068c1ce084a7b
Cr-Commit-Position: refs/heads/master@{#15077}

Powered by Google App Engine
This is Rietveld 408576698