Index: chrome/browser/extensions/api/webrtc_logging_private/webrtc_event_log_apitest.cc |
diff --git a/chrome/browser/extensions/api/webrtc_logging_private/webrtc_event_log_apitest.cc b/chrome/browser/extensions/api/webrtc_logging_private/webrtc_event_log_apitest.cc |
index 0c946cec013f9dd688a9f748e211d334c354f706..c869278f71cb4cd1afb050bea85e53798a9e7074 100644 |
--- a/chrome/browser/extensions/api/webrtc_logging_private/webrtc_event_log_apitest.cc |
+++ b/chrome/browser/extensions/api/webrtc_logging_private/webrtc_event_log_apitest.cc |
@@ -161,7 +161,9 @@ IN_PROC_BROWSER_TEST_F(WebrtcEventLogApiTest, TestStartStopWebRtcEventLogging) { |
SetupPeerconnectionWithLocalStream(left_tab); |
SetupPeerconnectionWithLocalStream(right_tab); |
- NegotiateCall(left_tab, right_tab, "VP8"); |
+ SetDefaultVideoCodec(left_tab, "VP8"); |
+ SetDefaultVideoCodec(right_tab, "VP8"); |
+ NegotiateCall(left_tab, right_tab); |
StartDetectingVideo(left_tab, "remote-view"); |
StartDetectingVideo(right_tab, "remote-view"); |
@@ -251,7 +253,9 @@ IN_PROC_BROWSER_TEST_F(WebrtcEventLogApiTest, |
SetupPeerconnectionWithLocalStream(left_tab); |
SetupPeerconnectionWithLocalStream(right_tab); |
- NegotiateCall(left_tab, right_tab, "VP8"); |
+ SetDefaultVideoCodec(left_tab, "VP8"); |
+ SetDefaultVideoCodec(right_tab, "VP8"); |
+ NegotiateCall(left_tab, right_tab); |
StartDetectingVideo(left_tab, "remote-view"); |
StartDetectingVideo(right_tab, "remote-view"); |