| 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/base/constructormagic.h" | 19 #include "webrtc/base/constructormagic.h" |
| 20 #include "webrtc/base/deprecation.h" | 20 #include "webrtc/base/deprecation.h" |
| 21 #include "webrtc/modules/include/module.h" | 21 #include "webrtc/modules/include/module.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/modules/video_coding/include/video_coding_defines.h" | 24 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
| 24 | 25 |
| 25 namespace webrtc { | 26 namespace webrtc { |
| 26 | 27 |
| 27 // Forward declarations. | 28 // Forward declarations. |
| 28 class RateLimiter; | 29 class RateLimiter; |
| 29 class ReceiveStatistics; | 30 class ReceiveStatistics; |
| 30 class RemoteBitrateEstimator; | 31 class RemoteBitrateEstimator; |
| 31 class RtcEventLog; | 32 class RtcEventLog; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 RtcpRttStats* rtt_stats = nullptr; | 69 RtcpRttStats* rtt_stats = nullptr; |
| 69 RtcpPacketTypeCounterObserver* rtcp_packet_type_counter_observer = nullptr; | 70 RtcpPacketTypeCounterObserver* rtcp_packet_type_counter_observer = nullptr; |
| 70 | 71 |
| 71 // Estimates the bandwidth available for a set of streams from the same | 72 // Estimates the bandwidth available for a set of streams from the same |
| 72 // client. | 73 // client. |
| 73 RemoteBitrateEstimator* remote_bitrate_estimator = nullptr; | 74 RemoteBitrateEstimator* remote_bitrate_estimator = nullptr; |
| 74 | 75 |
| 75 // Spread any bursts of packets into smaller bursts to minimize packet loss. | 76 // Spread any bursts of packets into smaller bursts to minimize packet loss. |
| 76 RtpPacketSender* paced_sender = nullptr; | 77 RtpPacketSender* paced_sender = nullptr; |
| 77 | 78 |
| 79 // Generate FlexFEC packets. |
| 80 // TODO(brandtr): Remove when FlexfecSender is wired up to PacedSender. |
| 81 FlexfecSender* flexfec_sender = nullptr; |
| 82 |
| 78 TransportSequenceNumberAllocator* transport_sequence_number_allocator = | 83 TransportSequenceNumberAllocator* transport_sequence_number_allocator = |
| 79 nullptr; | 84 nullptr; |
| 80 BitrateStatisticsObserver* send_bitrate_observer = nullptr; | 85 BitrateStatisticsObserver* send_bitrate_observer = nullptr; |
| 81 FrameCountObserver* send_frame_count_observer = nullptr; | 86 FrameCountObserver* send_frame_count_observer = nullptr; |
| 82 SendSideDelayObserver* send_side_delay_observer = nullptr; | 87 SendSideDelayObserver* send_side_delay_observer = nullptr; |
| 83 RtcEventLog* event_log = nullptr; | 88 RtcEventLog* event_log = nullptr; |
| 84 SendPacketObserver* send_packet_observer = nullptr; | 89 SendPacketObserver* send_packet_observer = nullptr; |
| 85 RateLimiter* retransmission_rate_limiter = nullptr; | 90 RateLimiter* retransmission_rate_limiter = nullptr; |
| 86 | 91 |
| 87 private: | 92 private: |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; | 467 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; |
| 463 | 468 |
| 464 // Sends a request for a keyframe. | 469 // Sends a request for a keyframe. |
| 465 // Returns -1 on failure else 0. | 470 // Returns -1 on failure else 0. |
| 466 virtual int32_t RequestKeyFrame() = 0; | 471 virtual int32_t RequestKeyFrame() = 0; |
| 467 }; | 472 }; |
| 468 | 473 |
| 469 } // namespace webrtc | 474 } // namespace webrtc |
| 470 | 475 |
| 471 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 476 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ |
| OLD | NEW |