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

Issue 186043003: Cast: Using a min filter to compute time offset (Closed)

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

Description

Cast: Using a min filter to compute time offset Modifying the time offset filter to take to minimum of the first 10 values. Once ten offset values were seen, the value will be constant for the entire session. This may be justified by the fact we are seeking the offset between sender and receiver without accounting the network jitter. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255166 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256134 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256342

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : Responding to review #

Total comments: 8

Patch Set 4 : Responding to review #

Total comments: 2

Patch Set 5 : Changing to std::min #

Patch Set 6 : Updates #

Patch Set 7 : rebase #

Patch Set 8 : Updated test and rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -29 lines) Patch
M media/cast/test/end2end_unittest.cc View 1 2 3 4 5 6 7 3 chunks +21 lines, -17 lines 0 comments Download
M media/cast/video_receiver/video_receiver.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/video_receiver/video_receiver.cc View 1 2 3 4 5 6 7 5 chunks +27 lines, -12 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
hguihot1
https://codereview.chromium.org/186043003/diff/100001/media/cast/video_receiver/video_receiver.cc File media/cast/video_receiver/video_receiver.cc (right): https://codereview.chromium.org/186043003/diff/100001/media/cast/video_receiver/video_receiver.cc#newcode379 media/cast/video_receiver/video_receiver.cc:379: ++time_offset_counter_; The previous filter was basically doing: time_offset_ = ...
6 years, 9 months ago (2014-03-03 23:20:59 UTC) #1
mikhal1
https://chromiumcodereview.appspot.com/186043003/diff/100001/media/cast/video_receiver/video_receiver.cc File media/cast/video_receiver/video_receiver.cc (right): https://chromiumcodereview.appspot.com/186043003/diff/100001/media/cast/video_receiver/video_receiver.cc#newcode379 media/cast/video_receiver/video_receiver.cc:379: ++time_offset_counter_; That is indeed part of the problem, which ...
6 years, 9 months ago (2014-03-03 23:33:23 UTC) #2
pwestin
2 comments https://codereview.chromium.org/186043003/diff/100001/media/cast/video_receiver/video_receiver.cc File media/cast/video_receiver/video_receiver.cc (right): https://codereview.chromium.org/186043003/diff/100001/media/cast/video_receiver/video_receiver.cc#newcode379 media/cast/video_receiver/video_receiver.cc:379: ++time_offset_counter_; On 2014/03/03 23:20:59, hguihot1 wrote: > ...
6 years, 9 months ago (2014-03-03 23:35:47 UTC) #3
mikhal1
PTAL https://chromiumcodereview.appspot.com/186043003/diff/100001/media/cast/video_receiver/video_receiver.cc File media/cast/video_receiver/video_receiver.cc (right): https://chromiumcodereview.appspot.com/186043003/diff/100001/media/cast/video_receiver/video_receiver.cc#newcode379 media/cast/video_receiver/video_receiver.cc:379: ++time_offset_counter_; True, just thought of it as I ...
6 years, 9 months ago (2014-03-04 00:02:37 UTC) #4
hguihot1
https://chromiumcodereview.appspot.com/186043003/diff/170001/media/cast/video_receiver/video_receiver.cc File media/cast/video_receiver/video_receiver.cc (right): https://chromiumcodereview.appspot.com/186043003/diff/170001/media/cast/video_receiver/video_receiver.cc#newcode378 media/cast/video_receiver/video_receiver.cc:378: time_offset_ = time_offset; This will select the minimum value ...
6 years, 9 months ago (2014-03-04 00:06:40 UTC) #5
pwestin
more comments https://chromiumcodereview.appspot.com/186043003/diff/170001/media/cast/video_receiver/video_receiver.cc File media/cast/video_receiver/video_receiver.cc (right): https://chromiumcodereview.appspot.com/186043003/diff/170001/media/cast/video_receiver/video_receiver.cc#newcode110 media/cast/video_receiver/video_receiver.cc:110: time_offset_counter_(0), we should initialize time_offset_ https://chromiumcodereview.appspot.com/186043003/diff/170001/media/cast/video_receiver/video_receiver.cc#newcode368 media/cast/video_receiver/video_receiver.cc:368: ...
6 years, 9 months ago (2014-03-04 00:10:54 UTC) #6
mikhal1
PTAL https://chromiumcodereview.appspot.com/186043003/diff/170001/media/cast/video_receiver/video_receiver.cc File media/cast/video_receiver/video_receiver.cc (right): https://chromiumcodereview.appspot.com/186043003/diff/170001/media/cast/video_receiver/video_receiver.cc#newcode110 media/cast/video_receiver/video_receiver.cc:110: time_offset_counter_(0), will be initialized by the default const' ...
6 years, 9 months ago (2014-03-04 00:28:45 UTC) #7
pwestin
https://chromiumcodereview.appspot.com/186043003/diff/190001/media/cast/video_receiver/video_receiver.cc File media/cast/video_receiver/video_receiver.cc (right): https://chromiumcodereview.appspot.com/186043003/diff/190001/media/cast/video_receiver/video_receiver.cc#newcode386 media/cast/video_receiver/video_receiver.cc:386: time_offset_ = time_offset; I think taking the std::min makes ...
6 years, 9 months ago (2014-03-04 00:34:39 UTC) #8
mikhal1
PTAL https://chromiumcodereview.appspot.com/186043003/diff/190001/media/cast/video_receiver/video_receiver.cc File media/cast/video_receiver/video_receiver.cc (right): https://chromiumcodereview.appspot.com/186043003/diff/190001/media/cast/video_receiver/video_receiver.cc#newcode386 media/cast/video_receiver/video_receiver.cc:386: time_offset_ = time_offset; On 2014/03/04 00:34:40, pwestin wrote: ...
6 years, 9 months ago (2014-03-04 17:52:22 UTC) #9
pwestin
lgtm
6 years, 9 months ago (2014-03-04 18:07:04 UTC) #10
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 9 months ago (2014-03-04 23:59:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/186043003/210001
6 years, 9 months ago (2014-03-05 00:06:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/186043003/210001
6 years, 9 months ago (2014-03-05 01:22:23 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 07:06:00 UTC) #14
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=275006
6 years, 9 months ago (2014-03-05 07:06:00 UTC) #15
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 9 months ago (2014-03-05 16:07:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/186043003/210001
6 years, 9 months ago (2014-03-05 16:08:28 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 20:04:54 UTC) #18
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=275436
6 years, 9 months ago (2014-03-05 20:04:54 UTC) #19
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 9 months ago (2014-03-05 20:18:23 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/186043003/210001
6 years, 9 months ago (2014-03-05 20:22:42 UTC) #21
commit-bot: I haz the power
Change committed as 255166
6 years, 9 months ago (2014-03-05 22:20:42 UTC) #22
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 9 months ago (2014-03-10 16:36:22 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/186043003/220001
6 years, 9 months ago (2014-03-10 17:03:32 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-10 17:03:38 UTC) #25
commit-bot: I haz the power
Failed to apply patch for media/cast/test/end2end_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-10 17:03:41 UTC) #26
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 9 months ago (2014-03-10 21:21:43 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/186043003/240001
6 years, 9 months ago (2014-03-10 21:25:52 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/186043003/240001
6 years, 9 months ago (2014-03-10 22:00:19 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/186043003/240001
6 years, 9 months ago (2014-03-10 23:34:01 UTC) #30
commit-bot: I haz the power
Change committed as 256134
6 years, 9 months ago (2014-03-11 05:12:56 UTC) #31
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 9 months ago (2014-03-11 17:43:56 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/186043003/260001
6 years, 9 months ago (2014-03-11 17:44:21 UTC) #33
commit-bot: I haz the power
6 years, 9 months ago (2014-03-11 22:30:34 UTC) #34
Message was sent while issue was closed.
Change committed as 256342

Powered by Google App Engine
This is Rietveld 408576698