OLD | NEW |
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 #include "webrtc/base/checks.h" | 15 #include "webrtc/base/checks.h" |
16 | 16 |
17 namespace webrtc { | 17 namespace webrtc { |
18 std::string NackConfig::ToString() const { | 18 std::string NackConfig::ToString() const { |
19 std::stringstream ss; | 19 std::stringstream ss; |
20 ss << "{rtp_history_ms: " << rtp_history_ms; | 20 ss << "{rtp_history_ms: " << rtp_history_ms; |
21 ss << '}'; | 21 ss << '}'; |
22 return ss.str(); | 22 return ss.str(); |
23 } | 23 } |
24 | 24 |
25 std::string FecConfig::ToString() const { | 25 std::string UlpfecConfig::ToString() const { |
26 std::stringstream ss; | 26 std::stringstream ss; |
27 ss << "{ulpfec_payload_type: " << ulpfec_payload_type; | 27 ss << "{ulpfec_payload_type: " << ulpfec_payload_type; |
28 ss << ", red_payload_type: " << red_payload_type; | 28 ss << ", red_payload_type: " << red_payload_type; |
29 ss << ", red_rtx_payload_type: " << red_rtx_payload_type; | 29 ss << ", red_rtx_payload_type: " << red_rtx_payload_type; |
30 ss << '}'; | 30 ss << '}'; |
31 return ss.str(); | 31 return ss.str(); |
32 } | 32 } |
33 | 33 |
34 std::string RtpExtension::ToString() const { | 34 std::string RtpExtension::ToString() const { |
35 std::stringstream ss; | 35 std::stringstream ss; |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 VideoEncoderConfig::Vp9EncoderSpecificSettings::Vp9EncoderSpecificSettings( | 190 VideoEncoderConfig::Vp9EncoderSpecificSettings::Vp9EncoderSpecificSettings( |
191 const VideoCodecVP9& specifics) | 191 const VideoCodecVP9& specifics) |
192 : specifics_(specifics) {} | 192 : specifics_(specifics) {} |
193 | 193 |
194 void VideoEncoderConfig::Vp9EncoderSpecificSettings::FillVideoCodecVp9( | 194 void VideoEncoderConfig::Vp9EncoderSpecificSettings::FillVideoCodecVp9( |
195 VideoCodecVP9* vp9_settings) const { | 195 VideoCodecVP9* vp9_settings) const { |
196 *vp9_settings = specifics_; | 196 *vp9_settings = specifics_; |
197 } | 197 } |
198 | 198 |
199 } // namespace webrtc | 199 } // namespace webrtc |
OLD | NEW |