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

Issue 254803002: Making webrtc video quality test page generic (Closed)

Created:
6 years, 8 months ago by amogh.bihani
Modified:
6 years, 7 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Making webrtc video quality test page generic This CL makes the webrtc video quality test page generic so that the same page can be used for more than one tests. The paramters are now extracted from the video stream itself. BUG=286290 TEST=out/Release/browser_tests --gtest_filter=WebRtcVideoQualityBrowserTest* --run-manual --ui-test-action-max-timeout=150000 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270034

Patch Set 1 #

Total comments: 1

Patch Set 2 : Taking dimensions from the video stream itself #

Total comments: 13

Patch Set 3 : addressing comments, removing global variables #

Patch Set 4 : removing nits #

Total comments: 2

Patch Set 5 : addressing comments #

Total comments: 17

Patch Set 6 : Passing reference instead of id #

Patch Set 7 : Seting canvas dimensions externally #

Total comments: 3

Patch Set 8 : Removing hd test html file #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -81 lines) Patch
M chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/test/data/webrtc/video_extraction.js View 1 2 3 4 5 6 7 8 6 chunks +37 lines, -17 lines 0 comments Download
M chrome/test/data/webrtc/webrtc_video_quality_test.html View 1 2 3 4 5 2 chunks +5 lines, -11 lines 0 comments Download
D chrome/test/data/webrtc/webrtc_video_quality_test_hd.html View 1 2 3 4 5 6 7 1 chunk +0 lines, -49 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
amogh.bihani
PTAL. I have made the test page generic as discussed on the thread.
6 years, 8 months ago (2014-04-25 08:38:30 UTC) #1
phoglund_chromium
https://codereview.chromium.org/254803002/diff/1/chrome/test/data/webrtc/webrtc_video_quality_test.html File chrome/test/data/webrtc/webrtc_video_quality_test.html (right): https://codereview.chromium.org/254803002/diff/1/chrome/test/data/webrtc/webrtc_video_quality_test.html#newcode12 chrome/test/data/webrtc/webrtc_video_quality_test.html:12: // The test page will take default value if ...
6 years, 8 months ago (2014-04-25 12:26:32 UTC) #2
amogh.bihani
Thanks for the review :) I have made the changes as advised.
6 years, 7 months ago (2014-04-28 06:03:44 UTC) #3
phoglund_chromium
Thanks for the changes! I think the general approach is sound, but I think we ...
6 years, 7 months ago (2014-04-28 08:51:43 UTC) #4
amogh.bihani
Thanks :) I have made the changes. https://codereview.chromium.org/254803002/diff/20001/chrome/test/data/webrtc/video_extraction.js File chrome/test/data/webrtc/video_extraction.js (right): https://codereview.chromium.org/254803002/diff/20001/chrome/test/data/webrtc/video_extraction.js#newcode106 chrome/test/data/webrtc/video_extraction.js:106: * parameters ...
6 years, 7 months ago (2014-04-28 09:47:24 UTC) #5
phoglund_chromium
lgtm with nits fixed https://codereview.chromium.org/254803002/diff/50001/chrome/test/data/webrtc/video_extraction.js File chrome/test/data/webrtc/video_extraction.js (right): https://codereview.chromium.org/254803002/diff/50001/chrome/test/data/webrtc/video_extraction.js#newcode160 chrome/test/data/webrtc/video_extraction.js:160: img = ctx.getImageData(0, 0, width, ...
6 years, 7 months ago (2014-04-28 11:20:54 UTC) #6
amogh.bihani
Thanks for the review :) I will commit this once https://codereview.chromium.org/247723006/ lands.
6 years, 7 months ago (2014-04-28 11:40:06 UTC) #7
phoglund_chromium
On 2014/04/28 11:40:06, amogh.bihani wrote: > Thanks for the review :) > I will commit ...
6 years, 7 months ago (2014-04-28 12:00:22 UTC) #8
kjellander_chromium
This does not lgtm yet, since it will likely break the test. Please have a ...
6 years, 7 months ago (2014-04-29 08:17:37 UTC) #9
phoglund_chromium
https://codereview.chromium.org/254803002/diff/30002/chrome/test/data/webrtc/video_extraction.js File chrome/test/data/webrtc/video_extraction.js (right): https://codereview.chromium.org/254803002/diff/30002/chrome/test/data/webrtc/video_extraction.js#newcode92 chrome/test/data/webrtc/video_extraction.js:92: function startFrameCapture(videoTagName, frame_rate, duration) { On 2014/04/29 08:17:37, Henrik ...
6 years, 7 months ago (2014-04-29 08:48:20 UTC) #10
kjellander_chromium
https://codereview.chromium.org/254803002/diff/30002/chrome/test/data/webrtc/video_extraction.js File chrome/test/data/webrtc/video_extraction.js (right): https://codereview.chromium.org/254803002/diff/30002/chrome/test/data/webrtc/video_extraction.js#newcode92 chrome/test/data/webrtc/video_extraction.js:92: function startFrameCapture(videoTagName, frame_rate, duration) { On 2014/04/29 08:48:20, phoglund ...
6 years, 7 months ago (2014-04-29 08:57:48 UTC) #11
amogh.bihani
Thanks :) I have made the changes. https://codereview.chromium.org/254803002/diff/30002/chrome/test/data/webrtc/video_extraction.js File chrome/test/data/webrtc/video_extraction.js (right): https://codereview.chromium.org/254803002/diff/30002/chrome/test/data/webrtc/video_extraction.js#newcode92 chrome/test/data/webrtc/video_extraction.js:92: function startFrameCapture(videoTagName, ...
6 years, 7 months ago (2014-04-29 10:38:53 UTC) #12
kjellander_chromium
Needs more work. https://codereview.chromium.org/254803002/diff/30002/chrome/test/data/webrtc/webrtc_video_quality_test.html File chrome/test/data/webrtc/webrtc_video_quality_test.html (right): https://codereview.chromium.org/254803002/diff/30002/chrome/test/data/webrtc/webrtc_video_quality_test.html#newcode40 chrome/test/data/webrtc/webrtc_video_quality_test.html:40: <canvas id="remote-canvas"></canvas> On 2014/04/29 10:38:53, amogh.bihani ...
6 years, 7 months ago (2014-04-29 11:28:15 UTC) #13
amogh.bihani
https://codereview.chromium.org/254803002/diff/30002/chrome/test/data/webrtc/webrtc_video_quality_test.html File chrome/test/data/webrtc/webrtc_video_quality_test.html (right): https://codereview.chromium.org/254803002/diff/30002/chrome/test/data/webrtc/webrtc_video_quality_test.html#newcode40 chrome/test/data/webrtc/webrtc_video_quality_test.html:40: <canvas id="remote-canvas"></canvas> I added the deps in gclient as ...
6 years, 7 months ago (2014-04-29 11:43:01 UTC) #14
kjellander_chromium
On 2014/04/29 11:43:01, amogh.bihani wrote: > https://codereview.chromium.org/254803002/diff/30002/chrome/test/data/webrtc/webrtc_video_quality_test.html > File chrome/test/data/webrtc/webrtc_video_quality_test.html (right): > > https://codereview.chromium.org/254803002/diff/30002/chrome/test/data/webrtc/webrtc_video_quality_test.html#newcode40 > ...
6 years, 7 months ago (2014-04-29 12:04:27 UTC) #15
amogh.bihani
I have added a function to set the correct canvas dimensions. Now the test looks ...
6 years, 7 months ago (2014-04-30 09:32:52 UTC) #16
kjellander_chromium
I tested PS#6 and it works. lgtm with a few nits. Let's keep any non-minor ...
6 years, 7 months ago (2014-04-30 10:49:41 UTC) #17
kjellander_chromium
On 2014/04/30 10:49:41, kjellander (OOO til May 6) wrote: > I tested PS#6 and it ...
6 years, 7 months ago (2014-04-30 10:50:08 UTC) #18
phoglund_chromium
What's the next step for this one?
6 years, 7 months ago (2014-05-09 12:54:56 UTC) #19
amogh.bihani
Sorry, I was out of office, hence could not follow up on this. Now we ...
6 years, 7 months ago (2014-05-12 03:43:07 UTC) #20
amogh.bihani
PTAL. I have made the necessary changes.
6 years, 7 months ago (2014-05-12 11:16:43 UTC) #21
amogh.bihani
On 2014/05/12 11:16:43, amogh.bihani wrote: > PTAL. > I have made the necessary changes. +r ...
6 years, 7 months ago (2014-05-12 11:53:35 UTC) #22
tommi (sloooow) - chröme
lgtm
6 years, 7 months ago (2014-05-12 12:17:20 UTC) #23
phoglund_chromium
Looks like this is good for checkin.
6 years, 7 months ago (2014-05-12 13:13:57 UTC) #24
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 7 months ago (2014-05-12 16:58:44 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/254803002/130001
6 years, 7 months ago (2014-05-12 16:59:09 UTC) #26
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-12 22:40:15 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-13 01:37:20 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/27811)
6 years, 7 months ago (2014-05-13 01:37:20 UTC) #29
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 7 months ago (2014-05-13 02:58:33 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/254803002/130001
6 years, 7 months ago (2014-05-13 03:00:42 UTC) #31
commit-bot: I haz the power
6 years, 7 months ago (2014-05-13 05:48:44 UTC) #32
Message was sent while issue was closed.
Change committed as 270034

Powered by Google App Engine
This is Rietveld 408576698