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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 ss << ", rtcp_mode: " | 103 ss << ", rtcp_mode: " |
104 << (rtcp_mode == RtcpMode::kCompound ? "RtcpMode::kCompound" | 104 << (rtcp_mode == RtcpMode::kCompound ? "RtcpMode::kCompound" |
105 : "RtcpMode::kReducedSize"); | 105 : "RtcpMode::kReducedSize"); |
106 ss << ", rtcp_xr: "; | 106 ss << ", rtcp_xr: "; |
107 ss << "{receiver_reference_time_report: " | 107 ss << "{receiver_reference_time_report: " |
108 << (rtcp_xr.receiver_reference_time_report ? "on" : "off"); | 108 << (rtcp_xr.receiver_reference_time_report ? "on" : "off"); |
109 ss << '}'; | 109 ss << '}'; |
110 ss << ", remb: " << (remb ? "on" : "off"); | 110 ss << ", remb: " << (remb ? "on" : "off"); |
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: " << ulpfec.ToString(); | 113 ss << ", ulpfec_payload_type: " << ulpfec_payload_type; |
| 114 ss << ", red_type: " << red_payload_type; |
114 ss << ", rtx_ssrc: " << rtx_ssrc; | 115 ss << ", rtx_ssrc: " << rtx_ssrc; |
115 ss << ", rtx_payload_types: {"; | 116 ss << ", rtx_payload_types: {"; |
116 for (auto& kv : rtx_associated_payload_types) { | 117 for (auto& kv : rtx_associated_payload_types) { |
117 ss << kv.first << " (pt) -> " << kv.second << " (apt), "; | 118 ss << kv.first << " (pt) -> " << kv.second << " (apt), "; |
118 } | 119 } |
119 ss << '}'; | 120 ss << '}'; |
120 ss << ", extensions: ["; | 121 ss << ", extensions: ["; |
121 for (size_t i = 0; i < extensions.size(); ++i) { | 122 for (size_t i = 0; i < extensions.size(); ++i) { |
122 ss << extensions[i].ToString(); | 123 ss << extensions[i].ToString(); |
123 if (i != extensions.size() - 1) | 124 if (i != extensions.size() - 1) |
124 ss << ", "; | 125 ss << ", "; |
125 } | 126 } |
126 ss << ']'; | 127 ss << ']'; |
127 ss << '}'; | 128 ss << '}'; |
128 return ss.str(); | 129 return ss.str(); |
129 } | 130 } |
130 | 131 |
131 } // namespace webrtc | 132 } // namespace webrtc |
OLD | NEW |