OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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 | 10 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 ss << ", transport_cc: " << (transport_cc ? "on" : "off"); | 111 ss << ", transport_cc: " << (transport_cc ? "on" : "off"); |
112 ss << ", nack: {rtp_history_ms: " << nack.rtp_history_ms << '}'; | 112 ss << ", nack: {rtp_history_ms: " << nack.rtp_history_ms << '}'; |
113 ss << ", ulpfec_payload_type: " << ulpfec_payload_type; | 113 ss << ", ulpfec_payload_type: " << ulpfec_payload_type; |
114 ss << ", red_type: " << red_payload_type; | 114 ss << ", red_type: " << red_payload_type; |
115 ss << ", rtx_ssrc: " << rtx_ssrc; | 115 ss << ", rtx_ssrc: " << rtx_ssrc; |
116 ss << ", rtx_payload_types: {"; | 116 ss << ", rtx_payload_types: {"; |
117 for (auto& kv : rtx_associated_payload_types) { | 117 for (auto& kv : rtx_associated_payload_types) { |
118 ss << kv.first << " (pt) -> " << kv.second << " (apt), "; | 118 ss << kv.first << " (pt) -> " << kv.second << " (apt), "; |
119 } | 119 } |
120 ss << '}'; | 120 ss << '}'; |
121 ss << ", extensions: ["; | |
122 for (size_t i = 0; i < extensions.size(); ++i) { | |
123 ss << extensions[i].ToString(); | |
124 if (i != extensions.size() - 1) | |
125 ss << ", "; | |
126 } | |
127 ss << ']'; | |
128 ss << '}'; | 121 ss << '}'; |
129 return ss.str(); | 122 return ss.str(); |
130 } | 123 } |
131 | 124 |
132 } // namespace webrtc | 125 } // namespace webrtc |
OLD | NEW |