OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 << (rtcp_mode == RtcpMode::kCompound ? "RtcpMode::kCompound" | 93 << (rtcp_mode == RtcpMode::kCompound ? "RtcpMode::kCompound" |
94 : "RtcpMode::kReducedSize"); | 94 : "RtcpMode::kReducedSize"); |
95 ss << ", rtcp_xr: "; | 95 ss << ", rtcp_xr: "; |
96 ss << "{receiver_reference_time_report: " | 96 ss << "{receiver_reference_time_report: " |
97 << (rtcp_xr.receiver_reference_time_report ? "on" : "off"); | 97 << (rtcp_xr.receiver_reference_time_report ? "on" : "off"); |
98 ss << '}'; | 98 ss << '}'; |
99 ss << ", remb: " << (remb ? "on" : "off"); | 99 ss << ", remb: " << (remb ? "on" : "off"); |
100 ss << ", transport_cc: " << (transport_cc ? "on" : "off"); | 100 ss << ", transport_cc: " << (transport_cc ? "on" : "off"); |
101 ss << ", nack: {rtp_history_ms: " << nack.rtp_history_ms << '}'; | 101 ss << ", nack: {rtp_history_ms: " << nack.rtp_history_ms << '}'; |
102 ss << ", ulpfec: " << ulpfec.ToString(); | 102 ss << ", ulpfec: " << ulpfec.ToString(); |
103 ss << ", rtx: {"; | 103 ss << ", rtx_ssrc: " << rtx_ssrc; |
104 for (auto& kv : rtx) { | 104 ss << ", rtx_payload_types: {"; |
105 ss << kv.first << " -> "; | 105 for (auto& kv : rtx_payload_types) { |
106 ss << "{ssrc: " << kv.second.ssrc; | 106 ss << kv.first << " (apt) -> " << kv.second << " (pt), "; |
107 ss << ", payload_type: " << kv.second.payload_type; | |
108 ss << '}'; | |
109 } | 107 } |
110 ss << '}'; | 108 ss << '}'; |
111 ss << ", extensions: ["; | 109 ss << ", extensions: ["; |
112 for (size_t i = 0; i < extensions.size(); ++i) { | 110 for (size_t i = 0; i < extensions.size(); ++i) { |
113 ss << extensions[i].ToString(); | 111 ss << extensions[i].ToString(); |
114 if (i != extensions.size() - 1) | 112 if (i != extensions.size() - 1) |
115 ss << ", "; | 113 ss << ", "; |
116 } | 114 } |
117 ss << ']'; | 115 ss << ']'; |
118 ss << '}'; | 116 ss << '}'; |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 << " ms, requesting keyframe."; | 482 << " ms, requesting keyframe."; |
485 RequestKeyFrame(); | 483 RequestKeyFrame(); |
486 } | 484 } |
487 } else { | 485 } else { |
488 video_receiver_.Decode(kMaxDecodeWaitTimeMs); | 486 video_receiver_.Decode(kMaxDecodeWaitTimeMs); |
489 } | 487 } |
490 } | 488 } |
491 | 489 |
492 } // namespace internal | 490 } // namespace internal |
493 } // namespace webrtc | 491 } // namespace webrtc |
OLD | NEW |