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/base/checks.h" |
10 #include "webrtc/config.h" | 11 #include "webrtc/config.h" |
11 | 12 |
12 #include <sstream> | 13 #include <sstream> |
13 #include <string> | 14 #include <string> |
14 | 15 |
15 namespace webrtc { | 16 namespace webrtc { |
16 std::string NackConfig::ToString() const { | 17 std::string NackConfig::ToString() const { |
17 std::stringstream ss; | 18 std::stringstream ss; |
18 ss << "{rtp_history_ms: " << rtp_history_ms; | 19 ss << "{rtp_history_ms: " << rtp_history_ms; |
19 ss << '}'; | 20 ss << '}'; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 } | 141 } |
141 ss << ", encoder_specific_settings: "; | 142 ss << ", encoder_specific_settings: "; |
142 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); | 143 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); |
143 | 144 |
144 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; | 145 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; |
145 ss << '}'; | 146 ss << '}'; |
146 return ss.str(); | 147 return ss.str(); |
147 } | 148 } |
148 | 149 |
149 } // namespace webrtc | 150 } // namespace webrtc |
OLD | NEW |