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

Issue 339743002: Cast: Make vp8 3-buffer mode work (Closed)

Created:
6 years, 6 months ago by hubbe
Modified:
6 years, 3 months ago
Reviewers:
miu, Alpha Left Google
CC:
chromium-reviews, hclam+watch_chromium.org, imcheng+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, miu+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Cast: Make vp8 3-buffer mode work Cast was originally intended to tell vp8 to only reference buffers which have been ACKed. However, that mode was buggy and disabled. This CL fixes it again. The three-buffer mode lets the receiver drop frames and continue, which should be quite useful if we want lower latency. BUG=351596 Committed: https://crrev.com/b836b7126ecb26d5c2d6eb7db591ff7c1167af71 Cr-Commit-Position: refs/heads/master@{#293243}

Patch Set 1 #

Patch Set 2 : merge, fix, cleanup, rince, repeat #

Total comments: 18

Patch Set 3 : comments addressed, but I am going to do more testing.. #

Total comments: 4

Patch Set 4 : merged, comment updated #

Total comments: 4

Patch Set 5 : todo added #

Patch Set 6 : todo added #

Patch Set 7 : minor test fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -194 lines) Patch
M media/cast/net/rtp/framer.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M media/cast/net/rtp/framer.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M media/cast/receiver/frame_receiver.cc View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M media/cast/sender/video_encoder_impl_unittest.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M media/cast/sender/vp8_encoder.h View 1 4 chunks +16 lines, -9 lines 0 comments Download
M media/cast/sender/vp8_encoder.cc View 1 2 3 4 5 6 chunks +110 lines, -98 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 2 3 4 5 6 5 chunks +13 lines, -76 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
hubbe
6 years, 4 months ago (2014-08-20 23:53:27 UTC) #1
Alpha Left Google
https://codereview.chromium.org/339743002/diff/20001/chrome/renderer/media/cast_rtp_stream.cc File chrome/renderer/media/cast_rtp_stream.cc (right): https://codereview.chromium.org/339743002/diff/20001/chrome/renderer/media/cast_rtp_stream.cc#newcode211 chrome/renderer/media/cast_rtp_stream.cc:211: config->max_number_of_video_buffers_used = 3; Two issues: 1. We do not ...
6 years, 4 months ago (2014-08-25 23:23:45 UTC) #2
hubbe
I'm going to run some more tests on this, but I've uploaded the changes for ...
6 years, 3 months ago (2014-08-27 04:14:03 UTC) #3
Alpha Left Google
https://codereview.chromium.org/339743002/diff/40001/media/cast/sender/vp8_encoder.cc File media/cast/sender/vp8_encoder.cc (right): https://codereview.chromium.org/339743002/diff/40001/media/cast/sender/vp8_encoder.cc#newcode239 media/cast/sender/vp8_encoder.cc:239: // Probably only referencing the last one would be ...
6 years, 3 months ago (2014-08-28 21:39:33 UTC) #4
hubbe
https://codereview.chromium.org/339743002/diff/40001/media/cast/sender/vp8_encoder.cc File media/cast/sender/vp8_encoder.cc (right): https://codereview.chromium.org/339743002/diff/40001/media/cast/sender/vp8_encoder.cc#newcode239 media/cast/sender/vp8_encoder.cc:239: // Probably only referencing the last one would be ...
6 years, 3 months ago (2014-08-28 21:55:28 UTC) #5
Alpha Left Google
https://codereview.chromium.org/339743002/diff/40001/media/cast/sender/vp8_encoder.cc File media/cast/sender/vp8_encoder.cc (right): https://codereview.chromium.org/339743002/diff/40001/media/cast/sender/vp8_encoder.cc#newcode239 media/cast/sender/vp8_encoder.cc:239: // Probably only referencing the last one would be ...
6 years, 3 months ago (2014-08-28 21:59:10 UTC) #6
hubbe
https://codereview.chromium.org/339743002/diff/40001/media/cast/sender/vp8_encoder.cc File media/cast/sender/vp8_encoder.cc (right): https://codereview.chromium.org/339743002/diff/40001/media/cast/sender/vp8_encoder.cc#newcode239 media/cast/sender/vp8_encoder.cc:239: // Probably only referencing the last one would be ...
6 years, 3 months ago (2014-09-02 18:24:22 UTC) #7
Alpha Left Google
Thanks. LGTM.
6 years, 3 months ago (2014-09-02 18:27:10 UTC) #8
miu
lgtm Drive-by comments... https://codereview.chromium.org/339743002/diff/60001/media/cast/sender/video_encoder_impl_unittest.cc File media/cast/sender/video_encoder_impl_unittest.cc (right): https://codereview.chromium.org/339743002/diff/60001/media/cast/sender/video_encoder_impl_unittest.cc#newcode39 media/cast/sender/video_encoder_impl_unittest.cc:39: if (expected_frame_id_ != expected_last_referenced_frame_id_) { If ...
6 years, 3 months ago (2014-09-02 19:22:04 UTC) #10
hubbe
https://codereview.chromium.org/339743002/diff/60001/media/cast/sender/video_encoder_impl_unittest.cc File media/cast/sender/video_encoder_impl_unittest.cc (right): https://codereview.chromium.org/339743002/diff/60001/media/cast/sender/video_encoder_impl_unittest.cc#newcode39 media/cast/sender/video_encoder_impl_unittest.cc:39: if (expected_frame_id_ != expected_last_referenced_frame_id_) { On 2014/09/02 19:22:03, miu ...
6 years, 3 months ago (2014-09-02 21:39:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/339743002/120001
6 years, 3 months ago (2014-09-03 21:34:59 UTC) #13
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 0d923fea0eb819ecd6d41768d0f38ce65240f7c1
6 years, 3 months ago (2014-09-04 00:52:35 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:29:16 UTC) #15
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b836b7126ecb26d5c2d6eb7db591ff7c1167af71
Cr-Commit-Position: refs/heads/master@{#293243}

Powered by Google App Engine
This is Rietveld 408576698