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 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1298 if (params_.call.send_side_bwe) { | 1298 if (params_.call.send_side_bwe) { |
1299 video_send_config_.rtp.extensions.push_back( | 1299 video_send_config_.rtp.extensions.push_back( |
1300 RtpExtension(RtpExtension::kTransportSequenceNumberUri, | 1300 RtpExtension(RtpExtension::kTransportSequenceNumberUri, |
1301 test::kTransportSequenceNumberExtensionId)); | 1301 test::kTransportSequenceNumberExtensionId)); |
1302 } else { | 1302 } else { |
1303 video_send_config_.rtp.extensions.push_back(RtpExtension( | 1303 video_send_config_.rtp.extensions.push_back(RtpExtension( |
1304 RtpExtension::kAbsSendTimeUri, test::kAbsSendTimeExtensionId)); | 1304 RtpExtension::kAbsSendTimeUri, test::kAbsSendTimeExtensionId)); |
1305 } | 1305 } |
1306 video_send_config_.rtp.extensions.push_back(RtpExtension( | 1306 video_send_config_.rtp.extensions.push_back(RtpExtension( |
1307 RtpExtension::kVideoContentTypeUri, test::kVideoContentTypeExtensionId)); | 1307 RtpExtension::kVideoContentTypeUri, test::kVideoContentTypeExtensionId)); |
| 1308 video_send_config_.rtp.extensions.push_back(RtpExtension( |
| 1309 RtpExtension::kVideoTimingUri, test::kVideoTimingExtensionId)); |
1308 | 1310 |
1309 video_encoder_config_.min_transmit_bitrate_bps = | 1311 video_encoder_config_.min_transmit_bitrate_bps = |
1310 params_.video.min_transmit_bps; | 1312 params_.video.min_transmit_bps; |
1311 | 1313 |
1312 video_send_config_.suspend_below_min_bitrate = | 1314 video_send_config_.suspend_below_min_bitrate = |
1313 params_.video.suspend_below_min_bitrate; | 1315 params_.video.suspend_below_min_bitrate; |
1314 | 1316 |
1315 video_encoder_config_.number_of_streams = params_.ss.streams.size(); | 1317 video_encoder_config_.number_of_streams = params_.ss.streams.size(); |
1316 video_encoder_config_.max_bitrate_bps = 0; | 1318 video_encoder_config_.max_bitrate_bps = 0; |
1317 for (size_t i = 0; i < params_.ss.streams.size(); ++i) { | 1319 for (size_t i = 0; i < params_.ss.streams.size(); ++i) { |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1909 if (!params_.video.encoded_frame_base_path.empty()) { | 1911 if (!params_.video.encoded_frame_base_path.empty()) { |
1910 std::ostringstream str; | 1912 std::ostringstream str; |
1911 str << receive_logs_++; | 1913 str << receive_logs_++; |
1912 std::string path = | 1914 std::string path = |
1913 params_.video.encoded_frame_base_path + "." + str.str() + ".recv.ivf"; | 1915 params_.video.encoded_frame_base_path + "." + str.str() + ".recv.ivf"; |
1914 stream->EnableEncodedFrameRecording(rtc::CreatePlatformFile(path), | 1916 stream->EnableEncodedFrameRecording(rtc::CreatePlatformFile(path), |
1915 10000000); | 1917 10000000); |
1916 } | 1918 } |
1917 } | 1919 } |
1918 } // namespace webrtc | 1920 } // namespace webrtc |
OLD | NEW |