Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: webrtc/call/video_receive_stream.cc

Issue 3000273002: Reverse |rtx_payload_types| map, and rename. (Closed)
Patch Set: Rebased. Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/call/video_receive_stream.h ('k') | webrtc/media/engine/webrtcvideoengine.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: " << ulpfec.ToString();
114 ss << ", rtx_ssrc: " << rtx_ssrc; 114 ss << ", rtx_ssrc: " << rtx_ssrc;
115 ss << ", rtx_payload_types: {"; 115 ss << ", rtx_payload_types: {";
116 for (auto& kv : rtx_payload_types) { 116 for (auto& kv : rtx_associated_payload_types) {
117 ss << kv.first << " (apt) -> " << kv.second << " (pt), "; 117 ss << kv.first << " (pt) -> " << kv.second << " (apt), ";
118 } 118 }
119 ss << '}'; 119 ss << '}';
120 ss << ", extensions: ["; 120 ss << ", extensions: [";
121 for (size_t i = 0; i < extensions.size(); ++i) { 121 for (size_t i = 0; i < extensions.size(); ++i) {
122 ss << extensions[i].ToString(); 122 ss << extensions[i].ToString();
123 if (i != extensions.size() - 1) 123 if (i != extensions.size() - 1)
124 ss << ", "; 124 ss << ", ";
125 } 125 }
126 ss << ']'; 126 ss << ']';
127 ss << '}'; 127 ss << '}';
128 return ss.str(); 128 return ss.str();
129 } 129 }
130 130
131 } // namespace webrtc 131 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/call/video_receive_stream.h ('k') | webrtc/media/engine/webrtcvideoengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698