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 1055 matching lines...) Loading... |
1066 video_receive_configs_[i].rtp.transport_cc = params_.call.send_side_bwe; | 1066 video_receive_configs_[i].rtp.transport_cc = params_.call.send_side_bwe; |
1067 } | 1067 } |
1068 | 1068 |
1069 if (params_.video.flexfec) { | 1069 if (params_.video.flexfec) { |
1070 video_send_config_.rtp.flexfec.flexfec_payload_type = kFlexfecPayloadType; | 1070 video_send_config_.rtp.flexfec.flexfec_payload_type = kFlexfecPayloadType; |
1071 video_send_config_.rtp.flexfec.flexfec_ssrc = kFlexfecSendSsrc; | 1071 video_send_config_.rtp.flexfec.flexfec_ssrc = kFlexfecSendSsrc; |
1072 video_send_config_.rtp.flexfec.protected_media_ssrcs = { | 1072 video_send_config_.rtp.flexfec.protected_media_ssrcs = { |
1073 kVideoSendSsrcs[params_.ss.selected_stream]}; | 1073 kVideoSendSsrcs[params_.ss.selected_stream]}; |
1074 | 1074 |
1075 FlexfecReceiveStream::Config flexfec_receive_config; | 1075 FlexfecReceiveStream::Config flexfec_receive_config; |
1076 flexfec_receive_config.flexfec_payload_type = | 1076 flexfec_receive_config.payload_type = |
1077 video_send_config_.rtp.flexfec.flexfec_payload_type; | 1077 video_send_config_.rtp.flexfec.flexfec_payload_type; |
1078 flexfec_receive_config.flexfec_ssrc = | 1078 flexfec_receive_config.remote_ssrc = |
1079 video_send_config_.rtp.flexfec.flexfec_ssrc; | 1079 video_send_config_.rtp.flexfec.flexfec_ssrc; |
1080 flexfec_receive_config.protected_media_ssrcs = | 1080 flexfec_receive_config.protected_media_ssrcs = |
1081 video_send_config_.rtp.flexfec.protected_media_ssrcs; | 1081 video_send_config_.rtp.flexfec.protected_media_ssrcs; |
1082 flexfec_receive_configs_.push_back(flexfec_receive_config); | 1082 flexfec_receive_configs_.push_back(flexfec_receive_config); |
1083 } | 1083 } |
1084 | 1084 |
1085 if (params_.video.ulpfec) { | 1085 if (params_.video.ulpfec) { |
1086 video_send_config_.rtp.ulpfec.red_payload_type = kRedPayloadType; | 1086 video_send_config_.rtp.ulpfec.red_payload_type = kRedPayloadType; |
1087 video_send_config_.rtp.ulpfec.ulpfec_payload_type = kUlpfecPayloadType; | 1087 video_send_config_.rtp.ulpfec.ulpfec_payload_type = kUlpfecPayloadType; |
1088 video_send_config_.rtp.ulpfec.red_rtx_payload_type = kRtxRedPayloadType; | 1088 video_send_config_.rtp.ulpfec.red_rtx_payload_type = kRtxRedPayloadType; |
(...skipping 396 matching lines...) Loading... |
1485 std::ostringstream str; | 1485 std::ostringstream str; |
1486 str << receive_logs_++; | 1486 str << receive_logs_++; |
1487 std::string path = | 1487 std::string path = |
1488 params_.video.encoded_frame_base_path + "." + str.str() + ".recv.ivf"; | 1488 params_.video.encoded_frame_base_path + "." + str.str() + ".recv.ivf"; |
1489 stream->EnableEncodedFrameRecording(rtc::CreatePlatformFile(path), | 1489 stream->EnableEncodedFrameRecording(rtc::CreatePlatformFile(path), |
1490 10000000); | 1490 10000000); |
1491 } | 1491 } |
1492 } | 1492 } |
1493 | 1493 |
1494 } // namespace webrtc | 1494 } // namespace webrtc |
OLD | NEW |