OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 #ifndef WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ |
12 #define WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ |
13 | 13 |
14 #include <set> | 14 #include <set> |
15 #include <string> | 15 #include <string> |
16 #include <utility> | 16 #include <utility> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
| 19 #include "webrtc/api/optional.h" |
19 #include "webrtc/common_types.h" | 20 #include "webrtc/common_types.h" |
20 #include "webrtc/modules/include/module.h" | 21 #include "webrtc/modules/include/module.h" |
21 #include "webrtc/modules/rtp_rtcp/include/flexfec_sender.h" | 22 #include "webrtc/modules/rtp_rtcp/include/flexfec_sender.h" |
22 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 23 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
23 #include "webrtc/rtc_base/constructormagic.h" | 24 #include "webrtc/rtc_base/constructormagic.h" |
24 #include "webrtc/rtc_base/deprecation.h" | 25 #include "webrtc/rtc_base/deprecation.h" |
25 #include "webrtc/rtc_base/optional.h" | |
26 | 26 |
27 namespace webrtc { | 27 namespace webrtc { |
28 | 28 |
29 // Forward declarations. | 29 // Forward declarations. |
30 class OverheadObserver; | 30 class OverheadObserver; |
31 class RateLimiter; | 31 class RateLimiter; |
32 class ReceiveStatisticsProvider; | 32 class ReceiveStatisticsProvider; |
33 class RemoteBitrateEstimator; | 33 class RemoteBitrateEstimator; |
34 class RtcEventLog; | 34 class RtcEventLog; |
35 class RtpReceiver; | 35 class RtpReceiver; |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; | 453 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; |
454 | 454 |
455 // Sends a request for a keyframe. | 455 // Sends a request for a keyframe. |
456 // Returns -1 on failure else 0. | 456 // Returns -1 on failure else 0. |
457 virtual int32_t RequestKeyFrame() = 0; | 457 virtual int32_t RequestKeyFrame() = 0; |
458 }; | 458 }; |
459 | 459 |
460 } // namespace webrtc | 460 } // namespace webrtc |
461 | 461 |
462 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 462 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ |
OLD | NEW |