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

Issue 1645043004: WebRtcBrowserTest with VP8 and VP9. WebRtcTestBase::NegotiateCall specifying video codec. (Closed)

Created:
4 years, 10 months ago by hbos_chromium
Modified:
4 years, 10 months ago
Reviewers:
phoglund_chromium
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, tnakamura+watch_chromium.org, phoglund+watch_chromium.org, mcasas+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebRtcBrowserTest.RunsAudioVideoWebRTCCallInTwoTabs now has a VP8 and a VP9 version. After this CL, we will easily be able to test H264 as well (when that CL lands). WebRtcTestBase::NegotiateCall and friends get a new optional parameter to specify video_codec. The javascript changes making this possible: peerconnection.js/createLocalOffer: Ability to specify video codec by modifying the offer SDP string. peerconnection.js/receiveOfferFromPeer: Verifying that the SDP answer string uses the desired codec. All SDP helper functions in new file munge_sdp.js. This should make it easy to add different codecs to the chrome_webrtc_perf_browsertest.cc and chrome_webrtc_video_quality_browsertest.cc tests in follow-up CLs. BUG=chromium:500605, chromium:468365 Committed: https://crrev.com/a10beae0043353c3215c3350ad877ff6689b5456 Cr-Commit-Position: refs/heads/master@{#372953}

Patch Set 1 #

Patch Set 2 : VP8 and VP9 tests #

Patch Set 3 : Verify that |videoCodec| is the default video codec in the SDP answer (not just the offer) #

Patch Set 4 : (Updated comments, js include order of munge_sdp.js: after peerconnection.js) #

Total comments: 16

Patch Set 5 : Addressed comments #

Total comments: 4

Patch Set 6 : knitted the nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+333 lines, -52 lines) Patch
M chrome/browser/media/chrome_webrtc_browsertest.cc View 1 1 chunk +28 lines, -19 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.h View 1 2 3 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.cc View 1 2 3 4 4 chunks +28 lines, -7 lines 0 comments Download
A chrome/test/data/webrtc/munge_sdp.js View 1 2 3 4 1 chunk +209 lines, -0 lines 0 comments Download
M chrome/test/data/webrtc/peerconnection.js View 1 2 3 4 5 6 chunks +48 lines, -23 lines 0 comments Download
M chrome/test/data/webrtc/test_functions.js View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/data/webrtc/webrtc_audio_quality_test.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/webrtc/webrtc_jsep01_test.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/webrtc/webrtc_video_quality_test.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
hbos_chromium
Please take a look, phoglund.
4 years, 10 months ago (2016-02-01 13:14:17 UTC) #8
phoglund_chromium
Looks good in general, some minor comments https://codereview.chromium.org/1645043004/diff/100001/chrome/browser/media/webrtc_browsertest_base.cc File chrome/browser/media/webrtc_browsertest_base.cc (right): https://codereview.chromium.org/1645043004/diff/100001/chrome/browser/media/webrtc_browsertest_base.cc#newcode320 chrome/browser/media/webrtc_browsertest_base.cc:320: if (default_video_codec ...
4 years, 10 months ago (2016-02-01 14:20:44 UTC) #12
hbos_chromium
PTAL phoglund https://codereview.chromium.org/1645043004/diff/100001/chrome/browser/media/webrtc_browsertest_base.cc File chrome/browser/media/webrtc_browsertest_base.cc (right): https://codereview.chromium.org/1645043004/diff/100001/chrome/browser/media/webrtc_browsertest_base.cc#newcode320 chrome/browser/media/webrtc_browsertest_base.cc:320: if (default_video_codec != "") On 2016/02/01 14:20:44, ...
4 years, 10 months ago (2016-02-02 14:07:19 UTC) #13
phoglund_chromium
lgtm https://codereview.chromium.org/1645043004/diff/120001/chrome/test/data/webrtc/peerconnection.js File chrome/test/data/webrtc/peerconnection.js (right): https://codereview.chromium.org/1645043004/diff/120001/chrome/test/data/webrtc/peerconnection.js#newcode102 chrome/test/data/webrtc/peerconnection.js:102: * |failure_| occurs. Nit: blank line before @param ...
4 years, 10 months ago (2016-02-02 14:45:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1645043004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1645043004/140001
4 years, 10 months ago (2016-02-02 14:51:55 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 10 months ago (2016-02-02 16:11:57 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-02 16:13:41 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a10beae0043353c3215c3350ad877ff6689b5456
Cr-Commit-Position: refs/heads/master@{#372953}

Powered by Google App Engine
This is Rietveld 408576698