OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 | 10 |
11 // TODO(pbos): Move Config from common.h to here. | 11 // TODO(pbos): Move Config from common.h to here. |
12 | 12 |
13 #ifndef WEBRTC_CONFIG_H_ | 13 #ifndef WEBRTC_CONFIG_H_ |
14 #define WEBRTC_CONFIG_H_ | 14 #define WEBRTC_CONFIG_H_ |
15 | 15 |
16 #include <string> | 16 #include <string> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "webrtc/common_types.h" | 19 #include "webrtc/common_types.h" |
20 #include "webrtc/typedefs.h" | 20 #include "webrtc/typedefs.h" |
21 | 21 |
22 namespace webrtc { | 22 namespace webrtc { |
23 | 23 |
| 24 class RtcEventLog; |
| 25 |
24 // Settings for NACK, see RFC 4585 for details. | 26 // Settings for NACK, see RFC 4585 for details. |
25 struct NackConfig { | 27 struct NackConfig { |
26 NackConfig() : rtp_history_ms(0) {} | 28 NackConfig() : rtp_history_ms(0) {} |
27 // Send side: the time RTP packets are stored for retransmissions. | 29 // Send side: the time RTP packets are stored for retransmissions. |
28 // Receive side: the time the receiver is prepared to wait for | 30 // Receive side: the time the receiver is prepared to wait for |
29 // retransmissions. | 31 // retransmissions. |
30 // Set to '0' to disable. | 32 // Set to '0' to disable. |
31 int rtp_history_ms; | 33 int rtp_history_ms; |
32 }; | 34 }; |
33 | 35 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 132 |
131 struct NetEqFastAccelerate { | 133 struct NetEqFastAccelerate { |
132 NetEqFastAccelerate() : enabled(false) {} | 134 NetEqFastAccelerate() : enabled(false) {} |
133 explicit NetEqFastAccelerate(bool value) : enabled(value) {} | 135 explicit NetEqFastAccelerate(bool value) : enabled(value) {} |
134 bool enabled; | 136 bool enabled; |
135 }; | 137 }; |
136 | 138 |
137 } // namespace webrtc | 139 } // namespace webrtc |
138 | 140 |
139 #endif // WEBRTC_CONFIG_H_ | 141 #endif // WEBRTC_CONFIG_H_ |
OLD | NEW |