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

Side by Side Diff: webrtc/config.cc

Issue 1955363003: Configure VoE NACK through AudioSendStream::Config. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: misc Created 4 years, 6 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 NackConfig::ToString() const {
17 std::stringstream ss;
18 ss << "{rtp_history_ms: " << rtp_history_ms;
19 ss << '}';
20 return ss.str();
21 }
22
16 std::string FecConfig::ToString() const { 23 std::string FecConfig::ToString() const {
17 std::stringstream ss; 24 std::stringstream ss;
18 ss << "{ulpfec_payload_type: " << ulpfec_payload_type; 25 ss << "{ulpfec_payload_type: " << ulpfec_payload_type;
19 ss << ", red_payload_type: " << red_payload_type; 26 ss << ", red_payload_type: " << red_payload_type;
20 ss << ", red_rtx_payload_type: " << red_rtx_payload_type; 27 ss << ", red_rtx_payload_type: " << red_rtx_payload_type;
21 ss << '}'; 28 ss << '}';
22 return ss.str(); 29 return ss.str();
23 } 30 }
24 31
25 std::string RtpExtension::ToString() const { 32 std::string RtpExtension::ToString() const {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 140 }
134 ss << ", encoder_specific_settings: "; 141 ss << ", encoder_specific_settings: ";
135 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); 142 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL");
136 143
137 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; 144 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps;
138 ss << '}'; 145 ss << '}';
139 return ss.str(); 146 return ss.str();
140 } 147 }
141 148
142 } // namespace webrtc 149 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698