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

Side by Side Diff: call/rampup_tests.cc

Issue 3019453002: Delete member VideoReceiveStream::Config::Rtp::ulpfec. (Closed)
Patch Set: Added DCHECK. 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 unified diff | Download patch
« no previous file with comments | « call/call_perf_tests.cc ('k') | call/video_receive_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 10
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 size_t i = 0; 195 size_t i = 0;
196 for (VideoReceiveStream::Config& recv_config : *receive_configs) { 196 for (VideoReceiveStream::Config& recv_config : *receive_configs) {
197 recv_config.rtp.remb = remb; 197 recv_config.rtp.remb = remb;
198 recv_config.rtp.transport_cc = transport_cc; 198 recv_config.rtp.transport_cc = transport_cc;
199 recv_config.rtp.extensions = send_config->rtp.extensions; 199 recv_config.rtp.extensions = send_config->rtp.extensions;
200 200
201 recv_config.rtp.remote_ssrc = video_ssrcs_[i]; 201 recv_config.rtp.remote_ssrc = video_ssrcs_[i];
202 recv_config.rtp.nack.rtp_history_ms = send_config->rtp.nack.rtp_history_ms; 202 recv_config.rtp.nack.rtp_history_ms = send_config->rtp.nack.rtp_history_ms;
203 203
204 if (red_) { 204 if (red_) {
205 recv_config.rtp.ulpfec.red_payload_type = 205 recv_config.rtp.red_payload_type =
206 send_config->rtp.ulpfec.red_payload_type; 206 send_config->rtp.ulpfec.red_payload_type;
207 recv_config.rtp.ulpfec.ulpfec_payload_type = 207 recv_config.rtp.ulpfec_payload_type =
208 send_config->rtp.ulpfec.ulpfec_payload_type; 208 send_config->rtp.ulpfec.ulpfec_payload_type;
209 if (rtx_) { 209 if (rtx_) {
210 recv_config.rtp.rtx_associated_payload_types 210 recv_config.rtp.rtx_associated_payload_types
211 [send_config->rtp.ulpfec.red_rtx_payload_type] = 211 [send_config->rtp.ulpfec.red_rtx_payload_type] =
212 send_config->rtp.ulpfec.red_payload_type; 212 send_config->rtp.ulpfec.red_payload_type;
213 } 213 }
214 } 214 }
215 215
216 if (rtx_) { 216 if (rtx_) {
217 recv_config.rtp.rtx_ssrc = video_rtx_ssrcs_[i]; 217 recv_config.rtp.rtx_ssrc = video_rtx_ssrcs_[i];
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 RunBaseTest(&test); 644 RunBaseTest(&test);
645 } 645 }
646 646
647 TEST_F(RampUpTest, AudioTransportSequenceNumber) { 647 TEST_F(RampUpTest, AudioTransportSequenceNumber) {
648 RampUpTester test(0, 1, 0, 300000, 10000, 648 RampUpTester test(0, 1, 0, 300000, 10000,
649 RtpExtension::kTransportSequenceNumberUri, false, false, 649 RtpExtension::kTransportSequenceNumberUri, false, false,
650 false); 650 false);
651 RunBaseTest(&test); 651 RunBaseTest(&test);
652 } 652 }
653 } // namespace webrtc 653 } // namespace webrtc
OLDNEW
« no previous file with comments | « call/call_perf_tests.cc ('k') | call/video_receive_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698