OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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/config.h" | 10 #include "webrtc/config.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 ss << ']'; | 81 ss << ']'; |
82 | 82 |
83 ss << '}'; | 83 ss << '}'; |
84 return ss.str(); | 84 return ss.str(); |
85 } | 85 } |
86 | 86 |
87 VideoEncoderConfig::VideoEncoderConfig() | 87 VideoEncoderConfig::VideoEncoderConfig() |
88 : content_type(ContentType::kRealtimeVideo), | 88 : content_type(ContentType::kRealtimeVideo), |
89 encoder_specific_settings(NULL), | 89 encoder_specific_settings(NULL), |
90 min_transmit_bitrate_bps(0) { | 90 min_transmit_bitrate_bps(0) { |
| 91 test.force_disable_wrapper_frame_dropper = false; |
91 } | 92 } |
92 | 93 |
93 VideoEncoderConfig::~VideoEncoderConfig() = default; | 94 VideoEncoderConfig::~VideoEncoderConfig() = default; |
94 | 95 |
95 std::string VideoEncoderConfig::ToString() const { | 96 std::string VideoEncoderConfig::ToString() const { |
96 std::stringstream ss; | 97 std::stringstream ss; |
97 | 98 |
98 ss << "{streams: ["; | 99 ss << "{streams: ["; |
99 for (size_t i = 0; i < streams.size(); ++i) { | 100 for (size_t i = 0; i < streams.size(); ++i) { |
100 ss << streams[i].ToString(); | 101 ss << streams[i].ToString(); |
(...skipping 12 matching lines...) Expand all Loading... |
113 } | 114 } |
114 ss << ", encoder_specific_settings: "; | 115 ss << ", encoder_specific_settings: "; |
115 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); | 116 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); |
116 | 117 |
117 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; | 118 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; |
118 ss << '}'; | 119 ss << '}'; |
119 return ss.str(); | 120 return ss.str(); |
120 } | 121 } |
121 | 122 |
122 } // namespace webrtc | 123 } // namespace webrtc |
OLD | NEW |