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

Issue 2190533002: Adds a WebRTC browser_test with opus dtx enabled. (Closed)

Created:
4 years, 4 months ago by Ivo-OOO until feb 6
Modified:
4 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, phoglund+watch_chromium.org, tnakamura+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds a WebRTC browser_test with opus dtx enabled. Additionally, starts tracking the 'packetsSentPerSecond' metric for WebRTC browser_tests. BUG=631927 Committed: https://crrev.com/e9df939bf67e2dea8e3ca1d9a0857272324611b8 Cr-Commit-Position: refs/heads/master@{#408825}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Test settings are now globals in javascript with setters. #

Total comments: 6

Patch Set 3 : Addressed review comments. #

Total comments: 6

Patch Set 4 : Comments by phoglund and minyue. #

Total comments: 6

Patch Set 5 : Last comments by Minyue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -68 lines) Patch
M chrome/browser/extensions/api/webrtc_logging_private/webrtc_event_log_apitest.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.h View 1 2 2 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.cc View 1 2 5 chunks +23 lines, -28 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_perf.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/media/webrtc_perf_browsertest.cc View 1 2 6 chunks +38 lines, -8 lines 0 comments Download
M chrome/browser/media/webrtc_video_quality_browsertest.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M chrome/test/data/webrtc/munge_sdp.js View 1 2 3 4 2 chunks +44 lines, -0 lines 0 comments Download
M chrome/test/data/webrtc/peerconnection.js View 1 2 5 chunks +56 lines, -16 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
Ivo-OOO until feb 6
Hi Patrik and Minyue, I added a WebRTC browser_test to Chrome that uses Opus Dtx. ...
4 years, 4 months ago (2016-07-27 08:27:56 UTC) #4
phoglund_chromium
https://codereview.chromium.org/2190533002/diff/1/chrome/browser/media/webrtc_browsertest_base.cc File chrome/browser/media/webrtc_browsertest_base.cc (right): https://codereview.chromium.org/2190533002/diff/1/chrome/browser/media/webrtc_browsertest_base.cc#newcode338 chrome/browser/media/webrtc_browsertest_base.cc:338: std::string WebRtcTestBase::CreateLocalOffer(content::WebContents* from_tab, I'm concerned this is going to ...
4 years, 4 months ago (2016-07-27 09:15:05 UTC) #5
Ivo-OOO until feb 6
Thanks for the comment, PTAL. https://codereview.chromium.org/2190533002/diff/1/chrome/browser/media/webrtc_browsertest_base.cc File chrome/browser/media/webrtc_browsertest_base.cc (right): https://codereview.chromium.org/2190533002/diff/1/chrome/browser/media/webrtc_browsertest_base.cc#newcode338 chrome/browser/media/webrtc_browsertest_base.cc:338: std::string WebRtcTestBase::CreateLocalOffer(content::WebContents* from_tab, On ...
4 years, 4 months ago (2016-07-27 14:12:43 UTC) #7
phoglund_chromium
Very nice, just a couple small remaining comments. https://codereview.chromium.org/2190533002/diff/40001/chrome/browser/media/webrtc_browsertest_base.h File chrome/browser/media/webrtc_browsertest_base.h (right): https://codereview.chromium.org/2190533002/diff/40001/chrome/browser/media/webrtc_browsertest_base.h#newcode170 chrome/browser/media/webrtc_browsertest_base.h:170: // ...
4 years, 4 months ago (2016-07-28 06:39:02 UTC) #8
Ivo-OOO until feb 6
https://codereview.chromium.org/2190533002/diff/40001/chrome/browser/media/webrtc_browsertest_base.h File chrome/browser/media/webrtc_browsertest_base.h (right): https://codereview.chromium.org/2190533002/diff/40001/chrome/browser/media/webrtc_browsertest_base.h#newcode170 chrome/browser/media/webrtc_browsertest_base.h:170: // Add 'usedtx=1' to the offer SDP. On 2016/07/28 ...
4 years, 4 months ago (2016-07-28 12:29:31 UTC) #9
Ivo-OOO until feb 6
Adding jochen as reviewer for webrtc_event_log_apitest.cc, since grunell is OOO.
4 years, 4 months ago (2016-07-28 12:33:35 UTC) #11
phoglund_chromium
lgtm % checkOpusDtxEnabled https://codereview.chromium.org/2190533002/diff/60001/chrome/test/data/webrtc/munge_sdp.js File chrome/test/data/webrtc/munge_sdp.js (right): https://codereview.chromium.org/2190533002/diff/60001/chrome/test/data/webrtc/munge_sdp.js#newcode56 chrome/test/data/webrtc/munge_sdp.js:56: function checkOpusDtxEnabled(sdp) { Ok, then you ...
4 years, 4 months ago (2016-07-28 12:46:38 UTC) #12
minyue
https://codereview.chromium.org/2190533002/diff/60001/chrome/test/data/webrtc/munge_sdp.js File chrome/test/data/webrtc/munge_sdp.js (right): https://codereview.chromium.org/2190533002/diff/60001/chrome/test/data/webrtc/munge_sdp.js#newcode41 chrome/test/data/webrtc/munge_sdp.js:41: // Find 'a=fmtp:111' line, where 111 is the codecId ...
4 years, 4 months ago (2016-07-28 12:53:30 UTC) #13
Ivo-OOO until feb 6
https://codereview.chromium.org/2190533002/diff/60001/chrome/test/data/webrtc/munge_sdp.js File chrome/test/data/webrtc/munge_sdp.js (right): https://codereview.chromium.org/2190533002/diff/60001/chrome/test/data/webrtc/munge_sdp.js#newcode41 chrome/test/data/webrtc/munge_sdp.js:41: // Find 'a=fmtp:111' line, where 111 is the codecId ...
4 years, 4 months ago (2016-07-28 14:00:07 UTC) #14
minyue
lgtm only nits https://codereview.chromium.org/2190533002/diff/80001/chrome/test/data/webrtc/munge_sdp.js File chrome/test/data/webrtc/munge_sdp.js (right): https://codereview.chromium.org/2190533002/diff/80001/chrome/test/data/webrtc/munge_sdp.js#newcode47 chrome/test/data/webrtc/munge_sdp.js:47: sdpLines.splice(rtpMapLine+1, 0, newLine); add spaces around ...
4 years, 4 months ago (2016-07-28 14:17:37 UTC) #15
Ivo-OOO until feb 6
https://codereview.chromium.org/2190533002/diff/80001/chrome/test/data/webrtc/munge_sdp.js File chrome/test/data/webrtc/munge_sdp.js (right): https://codereview.chromium.org/2190533002/diff/80001/chrome/test/data/webrtc/munge_sdp.js#newcode47 chrome/test/data/webrtc/munge_sdp.js:47: sdpLines.splice(rtpMapLine+1, 0, newLine); On 2016/07/28 14:17:37, minyue wrote: > ...
4 years, 4 months ago (2016-07-28 14:42:38 UTC) #16
jochen (gone - plz use gerrit)
lgtm
4 years, 4 months ago (2016-07-29 09:41:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2190533002/100001
4 years, 4 months ago (2016-07-29 23:46:42 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 4 months ago (2016-07-30 00:51:00 UTC) #22
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/e9df939bf67e2dea8e3ca1d9a0857272324611b8 Cr-Commit-Position: refs/heads/master@{#408825}
4 years, 4 months ago (2016-07-30 00:54:16 UTC) #24
Guido Urdaneta
4 years, 4 months ago (2016-08-01 09:38:45 UTC) #25
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:100001) has been created in
https://codereview.chromium.org/2195293002/ by guidou@chromium.org.

The reason for reverting is: Speculative revert due to this CL being suspect of
breaking webrtc bots.

See
https://build.chromium.org/p/chromium.webrtc/builders/Linux%20Tester/builds/1...

Sample error message:

[32431:32431:0801/012147:INFO:CONSOLE(13)] "Returning Test failed: Error:
getSdpDefaultCodec() failed: "'m=video' line missing from |sdp|."
    at failTest (http://127.0.0.1:47758/webrtc/test_functions.js:46:15)
    at failure (http://127.0.0.1:47758/webrtc/test_functions.js:56:9)
    at getSdpDefaultCodec (http://127.0.0.1:47758/webrtc/munge_sdp.js:108:5)
    at getSdpDefaultVideoCodec
(http://127.0.0.1:47758/webrtc/munge_sdp.js:93:10)
    at verifyDefaultVideoCodec
(http://127.0.0.1:47758/webrtc/peerconnection.js:174:27)
    at <anonymous>:1:51 to test.", source:
http://127.0.0.1:47758/webrtc/test_functions.js (13)
../../chrome/browser/media/webrtc_browsertest_base.cc:361: Failure.

Powered by Google App Engine
This is Rietveld 408576698