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

Unified Diff: video/video_quality_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 | « test/call_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: video/video_quality_test.cc
diff --git a/video/video_quality_test.cc b/video/video_quality_test.cc
index 16b3f65cd3787c9bb70c32cf404e58c51bb49e61..ef04725e3ca98b9e44333faf8e6a1ed48dd93df3 100644
--- a/video/video_quality_test.cc
+++ b/video/video_quality_test.cc
@@ -1539,6 +1539,9 @@ void VideoQualityTest::SetupVideo(Transport* send_transport,
RtpExtension::kAbsSendTimeUri, test::kAbsSendTimeExtensionId));
}
flexfec_receive_configs_.push_back(flexfec_receive_config);
+ if (num_video_streams > 0) {
+ video_receive_configs_[0].rtp.protected_by_flexfec = true;
+ }
}
if (params_.video.ulpfec) {
« no previous file with comments | « test/call_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698