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

Unified Diff: webrtc/video/call_perf_tests.cc

Issue 1273363005: Add send transports to individual webrtc::Call streams. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase+comment Created 5 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 | « webrtc/video/call.cc ('k') | webrtc/video/end_to_end_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/call_perf_tests.cc
diff --git a/webrtc/video/call_perf_tests.cc b/webrtc/video/call_perf_tests.cc
index cf65ea0f859758c1fdccc273507815ddda349f97..481abb6e2d86cafe19d1fa761880bf54bcb9d4e4 100644
--- a/webrtc/video/call_perf_tests.cc
+++ b/webrtc/video/call_perf_tests.cc
@@ -239,9 +239,9 @@ void CallPerfTest::TestAudioVideoSync(bool fec, bool create_audio_first) {
voe_sync,
&audio_observer);
- Call::Config receiver_config(observer.ReceiveTransport());
+ Call::Config receiver_config;
receiver_config.voice_engine = voice_engine;
- CreateCalls(Call::Config(observer.SendTransport()), receiver_config);
+ CreateCalls(Call::Config(), receiver_config);
CodecInst isac = {103, "ISAC", 16000, 480, 1, 32000};
EXPECT_EQ(0, voe_codec->SetSendCodec(channel, isac));
@@ -258,8 +258,8 @@ void CallPerfTest::TestAudioVideoSync(bool fec, bool create_audio_first) {
test::FakeDecoder fake_decoder;
- CreateSendConfig(1);
- CreateMatchingReceiveConfigs();
+ CreateSendConfig(1, observer.SendTransport());
+ CreateMatchingReceiveConfigs(observer.ReceiveTransport());
send_config_.rtp.nack.rtp_history_ms = kNackRtpHistoryMs;
if (fec) {
@@ -489,7 +489,7 @@ void CallPerfTest::TestCpuOveruse(LoadObserver::Load tested_load,
}
Call::Config GetSenderCallConfig() override {
- Call::Config config(SendTransport());
+ Call::Config config;
config.overuse_callback = this;
return config;
}
« no previous file with comments | « webrtc/video/call.cc ('k') | webrtc/video/end_to_end_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698