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

Unified Diff: webrtc/video/full_stack.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/end_to_end_tests.cc ('k') | webrtc/video/loopback.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/full_stack.cc
diff --git a/webrtc/video/full_stack.cc b/webrtc/video/full_stack.cc
index 1220482a1dbf597f44c9fac31bf997852a06c735..aac11ac4d4a07408d20a98fb7e9823b70d424749 100644
--- a/webrtc/video/full_stack.cc
+++ b/webrtc/video/full_stack.cc
@@ -492,13 +492,13 @@ void FullStackTest::RunTest(const FullStackTestParams& params) {
params.avg_psnr_threshold, params.avg_ssim_threshold,
params.test_durations_secs * params.clip.fps);
- CreateCalls(Call::Config(&analyzer), Call::Config(&recv_transport));
+ CreateCalls(Call::Config(), Call::Config());
analyzer.SetReceiver(receiver_call_->Receiver());
send_transport.SetReceiver(&analyzer);
recv_transport.SetReceiver(sender_call_->Receiver());
- CreateSendConfig(1);
+ CreateSendConfig(1, &analyzer);
rtc::scoped_ptr<VideoEncoder> encoder;
if (params.codec == "VP8") {
@@ -552,7 +552,7 @@ void FullStackTest::RunTest(const FullStackTestParams& params) {
stream->temporal_layer_thresholds_bps.push_back(stream->target_bitrate_bps);
}
- CreateMatchingReceiveConfigs();
+ CreateMatchingReceiveConfigs(&recv_transport);
receive_configs_[0].renderer = &analyzer;
receive_configs_[0].rtp.nack.rtp_history_ms = kNackRtpHistoryMs;
receive_configs_[0].rtp.rtx[kSendRtxPayloadType].ssrc = kSendRtxSsrcs[0];
« no previous file with comments | « webrtc/video/end_to_end_tests.cc ('k') | webrtc/video/loopback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698