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

Unified Diff: chrome/browser/media/webrtc_video_quality_browsertest.cc

Issue 2254133002: Reland of "Adds a WebRTC browser_test with opus dtx enabled.". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/media/webrtc_perf_browsertest.cc ('k') | chrome/test/data/webrtc/munge_sdp.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc_video_quality_browsertest.cc
diff --git a/chrome/browser/media/webrtc_video_quality_browsertest.cc b/chrome/browser/media/webrtc_video_quality_browsertest.cc
index 6203a8078c9358c9324c41d76832198ef3a4d1ee..fb07b1f4fd3521a792567f50e23bc9e1f05dbd32 100644
--- a/chrome/browser/media/webrtc_video_quality_browsertest.cc
+++ b/chrome/browser/media/webrtc_video_quality_browsertest.cc
@@ -278,7 +278,11 @@ class WebRtcVideoQualityBrowserTest : public WebRtcTestBase,
SetupPeerconnectionWithLocalStream(left_tab);
SetupPeerconnectionWithLocalStream(right_tab);
- NegotiateCall(left_tab, right_tab, video_codec);
+ if (!video_codec.empty()) {
+ SetDefaultVideoCodec(left_tab, video_codec);
+ SetDefaultVideoCodec(right_tab, video_codec);
+ }
+ NegotiateCall(left_tab, right_tab);
// Poll slower here to avoid flooding the log with messages: capturing and
// sending frames take quite a bit of time.
« no previous file with comments | « chrome/browser/media/webrtc_perf_browsertest.cc ('k') | chrome/test/data/webrtc/munge_sdp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698