| OLD | NEW |
| 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 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1094 } | 1094 } |
| 1095 video_encoder_config_.video_stream_factory = | 1095 video_encoder_config_.video_stream_factory = |
| 1096 new rtc::RefCountedObject<VideoStreamFactory>(params_.ss.streams); | 1096 new rtc::RefCountedObject<VideoStreamFactory>(params_.ss.streams); |
| 1097 | 1097 |
| 1098 video_encoder_config_.spatial_layers = params_.ss.spatial_layers; | 1098 video_encoder_config_.spatial_layers = params_.ss.spatial_layers; |
| 1099 | 1099 |
| 1100 CreateMatchingReceiveConfigs(recv_transport); | 1100 CreateMatchingReceiveConfigs(recv_transport); |
| 1101 | 1101 |
| 1102 for (size_t i = 0; i < num_video_streams; ++i) { | 1102 for (size_t i = 0; i < num_video_streams; ++i) { |
| 1103 video_receive_configs_[i].rtp.nack.rtp_history_ms = kNackRtpHistoryMs; | 1103 video_receive_configs_[i].rtp.nack.rtp_history_ms = kNackRtpHistoryMs; |
| 1104 video_receive_configs_[i].rtp.rtx[payload_type].ssrc = kSendRtxSsrcs[i]; | 1104 video_receive_configs_[i].rtp.rtx_ssrc = kSendRtxSsrcs[i]; |
| 1105 video_receive_configs_[i].rtp.rtx[payload_type].payload_type = | 1105 video_receive_configs_[i].rtp.rtx_payload_types[payload_type] = |
| 1106 kSendRtxPayloadType; | 1106 kSendRtxPayloadType; |
| 1107 video_receive_configs_[i].rtp.transport_cc = params_.call.send_side_bwe; | 1107 video_receive_configs_[i].rtp.transport_cc = params_.call.send_side_bwe; |
| 1108 } | 1108 } |
| 1109 | 1109 |
| 1110 if (params_.video.flexfec) { | 1110 if (params_.video.flexfec) { |
| 1111 // Override send config constructed by CreateSendConfig. | 1111 // Override send config constructed by CreateSendConfig. |
| 1112 video_send_config_.rtp.flexfec.protected_media_ssrcs = { | 1112 video_send_config_.rtp.flexfec.protected_media_ssrcs = { |
| 1113 kVideoSendSsrcs[params_.ss.selected_stream]}; | 1113 kVideoSendSsrcs[params_.ss.selected_stream]}; |
| 1114 | 1114 |
| 1115 // The matching receive config is _not_ created by | 1115 // The matching receive config is _not_ created by |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1537 std::ostringstream str; | 1537 std::ostringstream str; |
| 1538 str << receive_logs_++; | 1538 str << receive_logs_++; |
| 1539 std::string path = | 1539 std::string path = |
| 1540 params_.video.encoded_frame_base_path + "." + str.str() + ".recv.ivf"; | 1540 params_.video.encoded_frame_base_path + "." + str.str() + ".recv.ivf"; |
| 1541 stream->EnableEncodedFrameRecording(rtc::CreatePlatformFile(path), | 1541 stream->EnableEncodedFrameRecording(rtc::CreatePlatformFile(path), |
| 1542 10000000); | 1542 10000000); |
| 1543 } | 1543 } |
| 1544 } | 1544 } |
| 1545 | 1545 |
| 1546 } // namespace webrtc | 1546 } // namespace webrtc |
| OLD | NEW |