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

Issue 289483003: Cast: Only ACK decodable frames (Closed)

Created:
6 years, 7 months ago by hubbe
Modified:
6 years, 7 months ago
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
Visibility:
Public.

Description

Cast: Only ACK decododable frames Also, add an optimization to not decode frames if we are behind and multiple frames are currently decodable. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272709

Patch Set 1 #

Total comments: 14

Patch Set 2 : merged #

Patch Set 3 : Comments addressed #

Total comments: 4

Patch Set 4 : duplicate logic for audio #

Total comments: 2

Patch Set 5 : merge #

Patch Set 6 : tests updated #

Patch Set 7 : merged + merged some functions in framer #

Total comments: 1

Patch Set 8 : minor formatting change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -256 lines) Patch
M media/cast/audio_receiver/audio_receiver.cc View 1 2 3 4 5 6 1 chunk +15 lines, -5 lines 0 comments Download
M media/cast/framer/cast_message_builder.h View 3 chunks +4 lines, -3 lines 0 comments Download
M media/cast/framer/cast_message_builder.cc View 4 chunks +33 lines, -40 lines 0 comments Download
M media/cast/framer/cast_message_builder_unittest.cc View 7 chunks +9 lines, -88 lines 0 comments Download
M media/cast/framer/frame_id_map.h View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M media/cast/framer/frame_id_map.cc View 1 2 3 4 5 6 3 chunks +26 lines, -34 lines 0 comments Download
M media/cast/framer/framer.h View 1 2 3 4 5 6 1 chunk +8 lines, -9 lines 0 comments Download
M media/cast/framer/framer.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -34 lines 0 comments Download
M media/cast/framer/framer_unittest.cc View 1 2 3 4 5 6 30 chunks +68 lines, -35 lines 0 comments Download
M media/cast/video_receiver/video_receiver.cc View 1 2 3 4 5 6 1 chunk +16 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
hubbe
6 years, 7 months ago (2014-05-13 20:46:31 UTC) #1
imcheng
https://codereview.chromium.org/289483003/diff/1/media/cast/framer/cast_message_builder.cc File media/cast/framer/cast_message_builder.cc (right): https://codereview.chromium.org/289483003/diff/1/media/cast/framer/cast_message_builder.cc#newcode35 media/cast/framer/cast_message_builder.cc:35: DCHECK_GE(static_cast<int32>(frame_id - last_acked_frame_id_), 0); What guarantees this? https://codereview.chromium.org/289483003/diff/1/media/cast/framer/cast_message_builder.cc#newcode79 media/cast/framer/cast_message_builder.cc:79: ...
6 years, 7 months ago (2014-05-14 20:11:23 UTC) #2
hubbe
https://codereview.chromium.org/289483003/diff/1/media/cast/framer/cast_message_builder.cc File media/cast/framer/cast_message_builder.cc (right): https://codereview.chromium.org/289483003/diff/1/media/cast/framer/cast_message_builder.cc#newcode35 media/cast/framer/cast_message_builder.cc:35: DCHECK_GE(static_cast<int32>(frame_id - last_acked_frame_id_), 0); On 2014/05/14 20:11:24, imcheng1 wrote: ...
6 years, 7 months ago (2014-05-14 21:46:15 UTC) #3
imcheng
lgtm
6 years, 7 months ago (2014-05-14 22:14:15 UTC) #4
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 7 months ago (2014-05-14 22:39:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/289483003/40001
6 years, 7 months ago (2014-05-14 22:40:24 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 22:40:25 UTC) #7
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 7 months ago (2014-05-14 22:40:25 UTC) #8
hubbe
Reviewed by Derek, needs approval.
6 years, 7 months ago (2014-05-15 19:04:53 UTC) #9
miu
https://codereview.chromium.org/289483003/diff/40001/media/cast/framer/framer_unittest.cc File media/cast/framer/framer_unittest.cc (right): https://codereview.chromium.org/289483003/diff/40001/media/cast/framer/framer_unittest.cc#newcode38 media/cast/framer/framer_unittest.cc:38: bool multiple = false; In all these tests, consider ...
6 years, 7 months ago (2014-05-16 19:45:24 UTC) #10
hubbe
https://codereview.chromium.org/289483003/diff/40001/media/cast/framer/framer_unittest.cc File media/cast/framer/framer_unittest.cc (right): https://codereview.chromium.org/289483003/diff/40001/media/cast/framer/framer_unittest.cc#newcode38 media/cast/framer/framer_unittest.cc:38: bool multiple = false; On 2014/05/16 19:45:25, miu wrote: ...
6 years, 7 months ago (2014-05-16 20:50:58 UTC) #11
miu
lgtm https://codereview.chromium.org/289483003/diff/60001/media/cast/framer/framer_unittest.cc File media/cast/framer/framer_unittest.cc (right): https://codereview.chromium.org/289483003/diff/60001/media/cast/framer/framer_unittest.cc#newcode464 media/cast/framer/framer_unittest.cc:464: Perhaps we should add a test where we ...
6 years, 7 months ago (2014-05-19 23:53:59 UTC) #12
hubbe
https://codereview.chromium.org/289483003/diff/60001/media/cast/framer/framer_unittest.cc File media/cast/framer/framer_unittest.cc (right): https://codereview.chromium.org/289483003/diff/60001/media/cast/framer/framer_unittest.cc#newcode464 media/cast/framer/framer_unittest.cc:464: On 2014/05/19 23:53:59, miu wrote: > Perhaps we should ...
6 years, 7 months ago (2014-05-20 00:08:20 UTC) #13
miu
lgtm
6 years, 7 months ago (2014-05-20 00:29:10 UTC) #14
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 7 months ago (2014-05-21 16:36:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/289483003/100001
6 years, 7 months ago (2014-05-21 19:56:33 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 01:29:59 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-22 01:35:04 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/69076) linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/29791)
6 years, 7 months ago (2014-05-22 01:35:05 UTC) #19
miu
lgtm https://codereview.chromium.org/289483003/diff/120001/media/cast/framer/framer.cc File media/cast/framer/framer.cc (right): https://codereview.chromium.org/289483003/diff/120001/media/cast/framer/framer.cc#newcode64 media/cast/framer/framer.cc:64: nit: extra newline
6 years, 7 months ago (2014-05-23 23:20:42 UTC) #20
miu
The CQ bit was unchecked by miu@chromium.org
6 years, 7 months ago (2014-05-23 23:20:47 UTC) #21
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 7 months ago (2014-05-23 23:22:04 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/289483003/140001
6 years, 7 months ago (2014-05-23 23:23:30 UTC) #23
commit-bot: I haz the power
6 years, 7 months ago (2014-05-24 12:17:56 UTC) #24
Message was sent while issue was closed.
Change committed as 272709

Powered by Google App Engine
This is Rietveld 408576698