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

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

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/flexfec_receive_stream.h ('k') | webrtc/call/rtp_config.cc » ('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 #ifndef WEBRTC_CALL_RTP_CONFIG_H_
12 #define WEBRTC_CALL_RTP_CONFIG_H_
13
14 #include <string>
15
16 namespace webrtc {
17 // Settings for NACK, see RFC 4585 for details.
18 struct NackConfig {
19 NackConfig() : rtp_history_ms(0) {}
20 std::string ToString() const;
21 // Send side: the time RTP packets are stored for retransmissions.
22 // Receive side: the time the receiver is prepared to wait for
23 // retransmissions.
24 // Set to '0' to disable.
25 int rtp_history_ms;
26 };
27
28 // Settings for ULPFEC forward error correction.
29 // Set the payload types to '-1' to disable.
30 struct UlpfecConfig {
31 UlpfecConfig()
32 : ulpfec_payload_type(-1),
33 red_payload_type(-1),
34 red_rtx_payload_type(-1) {}
35 std::string ToString() const;
36 bool operator==(const UlpfecConfig& other) const;
37
38 // Payload type used for ULPFEC packets.
39 int ulpfec_payload_type;
40
41 // Payload type used for RED packets.
42 int red_payload_type;
43
44 // RTX payload type for RED payload.
45 int red_rtx_payload_type;
46 };
47 } // namespace webrtc
48 #endif // WEBRTC_CALL_RTP_CONFIG_H_
OLDNEW
« no previous file with comments | « webrtc/call/flexfec_receive_stream.h ('k') | webrtc/call/rtp_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698