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

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

Issue 3004723002: Move RtpExtension to api/ directory and config.h/.cc to call/. (Closed)
Patch Set: Fix nit. 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/rtp_config.h ('k') | webrtc/call/video_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #include "webrtc/call/rtp_config.h"
12
13 #include <sstream>
14
15 namespace webrtc {
16
17 std::string NackConfig::ToString() const {
18 std::stringstream ss;
19 ss << "{rtp_history_ms: " << rtp_history_ms;
20 ss << '}';
21 return ss.str();
22 }
23
24 std::string UlpfecConfig::ToString() const {
25 std::stringstream ss;
26 ss << "{ulpfec_payload_type: " << ulpfec_payload_type;
27 ss << ", red_payload_type: " << red_payload_type;
28 ss << ", red_rtx_payload_type: " << red_rtx_payload_type;
29 ss << '}';
30 return ss.str();
31 }
32
33 bool UlpfecConfig::operator==(const UlpfecConfig& other) const {
34 return ulpfec_payload_type == other.ulpfec_payload_type &&
35 red_payload_type == other.red_payload_type &&
36 red_rtx_payload_type == other.red_rtx_payload_type;
37 }
38 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/call/rtp_config.h ('k') | webrtc/call/video_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698