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

Side by Side Diff: webrtc/config.cc

Issue 1649493004: Support multiple rtx codecs. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 4 years, 10 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
OLDNEW
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/config.h" 10 #include "webrtc/config.h"
11 11
12 #include <sstream> 12 #include <sstream>
13 #include <string> 13 #include <string>
14 14
15 namespace webrtc { 15 namespace webrtc {
16 std::string FecConfig::ToString() const { 16 std::string FecConfig::ToString() const {
17 std::stringstream ss; 17 std::stringstream ss;
18 ss << "{ulpfec_payload_type: " << ulpfec_payload_type; 18 ss << "{ulpfec_payload_type: " << ulpfec_payload_type;
19 ss << ", red_payload_type: " << red_payload_type; 19 ss << ", red_payload_type: " << red_payload_type;
20 ss << ", red_rtx_payload_type: " << red_rtx_payload_type;
20 ss << '}'; 21 ss << '}';
21 return ss.str(); 22 return ss.str();
22 } 23 }
23 24
24 std::string RtpExtension::ToString() const { 25 std::string RtpExtension::ToString() const {
25 std::stringstream ss; 26 std::stringstream ss;
26 ss << "{name: " << name; 27 ss << "{name: " << name;
27 ss << ", id: " << id; 28 ss << ", id: " << id;
28 ss << '}'; 29 ss << '}';
29 return ss.str(); 30 return ss.str();
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 114 }
114 ss << ", encoder_specific_settings: "; 115 ss << ", encoder_specific_settings: ";
115 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); 116 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL");
116 117
117 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; 118 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps;
118 ss << '}'; 119 ss << '}';
119 return ss.str(); 120 return ss.str();
120 } 121 }
121 122
122 } // namespace webrtc 123 } // namespace webrtc
OLDNEW
« no previous file with comments | « talk/media/webrtc/webrtcvideoengine2_unittest.cc ('k') | webrtc/modules/rtp_rtcp/include/rtp_rtcp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698