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

Unified Diff: test/call_test.cc

Issue 3010003002: Set protected_by_flexfec flag properly in tests. (Closed)
Patch Set: Rebase. Created 3 years, 3 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 | « media/engine/webrtcvideoengine_unittest.cc ('k') | video/video_quality_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/call_test.cc
diff --git a/test/call_test.cc b/test/call_test.cc
index 3c9540ae197342435ec58df404ef9a8832f599e8..f4b387774a54cd970a68287669023f26d2d10f8b 100644
--- a/test/call_test.cc
+++ b/test/call_test.cc
@@ -256,6 +256,8 @@ void CallTest::CreateMatchingReceiveConfigs(Transport* rtcp_send_transport) {
video_config.rtp.remote_ssrc = video_send_config_.rtp.ssrcs[i];
video_receive_configs_.push_back(video_config.Copy());
}
+ video_receive_configs_[0].rtp.protected_by_flexfec =
+ (num_flexfec_streams_ == 1);
}
RTC_DCHECK_GE(1, num_audio_streams_);
« no previous file with comments | « media/engine/webrtcvideoengine_unittest.cc ('k') | video/video_quality_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698