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