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

Side by Side Diff: webrtc/video/video_quality_test.cc

Issue 2625633003: Let FlexfecReceiveStreamImpl send RTCP RRs. (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #include "webrtc/video/video_quality_test.h" 10 #include "webrtc/video/video_quality_test.h"
(...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after
1115 // The matching receive config is _not_ created by 1115 // The matching receive config is _not_ created by
1116 // CreateMatchingReceiveConfigs, since VideoQualityTest is not a BaseTest. 1116 // CreateMatchingReceiveConfigs, since VideoQualityTest is not a BaseTest.
1117 // Set up the receive config manually instead. 1117 // Set up the receive config manually instead.
1118 FlexfecReceiveStream::Config flexfec_receive_config(recv_transport); 1118 FlexfecReceiveStream::Config flexfec_receive_config(recv_transport);
1119 flexfec_receive_config.payload_type = 1119 flexfec_receive_config.payload_type =
1120 video_send_config_.rtp.flexfec.flexfec_payload_type; 1120 video_send_config_.rtp.flexfec.flexfec_payload_type;
1121 flexfec_receive_config.remote_ssrc = 1121 flexfec_receive_config.remote_ssrc =
1122 video_send_config_.rtp.flexfec.flexfec_ssrc; 1122 video_send_config_.rtp.flexfec.flexfec_ssrc;
1123 flexfec_receive_config.protected_media_ssrcs = 1123 flexfec_receive_config.protected_media_ssrcs =
1124 video_send_config_.rtp.flexfec.protected_media_ssrcs; 1124 video_send_config_.rtp.flexfec.protected_media_ssrcs;
1125 flexfec_receive_config.local_ssrc = kReceiverLocalVideoSsrc;
1125 flexfec_receive_config.transport_cc = params_.call.send_side_bwe; 1126 flexfec_receive_config.transport_cc = params_.call.send_side_bwe;
1126 if (params_.call.send_side_bwe) { 1127 if (params_.call.send_side_bwe) {
1127 flexfec_receive_config.rtp_header_extensions.push_back( 1128 flexfec_receive_config.rtp_header_extensions.push_back(
1128 RtpExtension(RtpExtension::kTransportSequenceNumberUri, 1129 RtpExtension(RtpExtension::kTransportSequenceNumberUri,
1129 test::kTransportSequenceNumberExtensionId)); 1130 test::kTransportSequenceNumberExtensionId));
1130 } else { 1131 } else {
1131 flexfec_receive_config.rtp_header_extensions.push_back(RtpExtension( 1132 flexfec_receive_config.rtp_header_extensions.push_back(RtpExtension(
1132 RtpExtension::kAbsSendTimeUri, test::kAbsSendTimeExtensionId)); 1133 RtpExtension::kAbsSendTimeUri, test::kAbsSendTimeExtensionId));
1133 } 1134 }
1134 flexfec_receive_configs_.push_back(flexfec_receive_config); 1135 flexfec_receive_configs_.push_back(flexfec_receive_config);
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1537 std::ostringstream str; 1538 std::ostringstream str;
1538 str << receive_logs_++; 1539 str << receive_logs_++;
1539 std::string path = 1540 std::string path =
1540 params_.video.encoded_frame_base_path + "." + str.str() + ".recv.ivf"; 1541 params_.video.encoded_frame_base_path + "." + str.str() + ".recv.ivf";
1541 stream->EnableEncodedFrameRecording(rtc::CreatePlatformFile(path), 1542 stream->EnableEncodedFrameRecording(rtc::CreatePlatformFile(path),
1542 10000000); 1543 10000000);
1543 } 1544 }
1544 } 1545 }
1545 1546
1546 } // namespace webrtc 1547 } // namespace webrtc
OLDNEW
« webrtc/video/end_to_end_tests.cc ('K') | « webrtc/video/end_to_end_tests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698