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 |
(...skipping 16 matching lines...) Expand all Loading... |
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 ReceiveStatistics; | 32 class ReceiveStatistics; |
33 class RemoteBitrateEstimator; | 33 class RemoteBitrateEstimator; |
34 class RtcEventLog; | 34 class RtcEventLog; |
35 class RtpReceiver; | 35 class RtpReceiver; |
36 class Transport; | 36 class Transport; |
| 37 class VideoBitrateAllocationObserver; |
37 | 38 |
38 RTPExtensionType StringToRtpExtensionType(const std::string& extension); | 39 RTPExtensionType StringToRtpExtensionType(const std::string& extension); |
39 | 40 |
40 namespace rtcp { | 41 namespace rtcp { |
41 class TransportFeedback; | 42 class TransportFeedback; |
42 } | 43 } |
43 | 44 |
44 class RtpRtcp : public Module { | 45 class RtpRtcp : public Module { |
45 public: | 46 public: |
46 struct Configuration { | 47 struct Configuration { |
(...skipping 14 matching lines...) Expand all Loading... |
61 Transport* outgoing_transport = nullptr; | 62 Transport* outgoing_transport = nullptr; |
62 | 63 |
63 // Called when the receiver request a intra frame. | 64 // Called when the receiver request a intra frame. |
64 RtcpIntraFrameObserver* intra_frame_callback = nullptr; | 65 RtcpIntraFrameObserver* intra_frame_callback = nullptr; |
65 | 66 |
66 // Called when we receive a changed estimate from the receiver of out | 67 // Called when we receive a changed estimate from the receiver of out |
67 // stream. | 68 // stream. |
68 RtcpBandwidthObserver* bandwidth_callback = nullptr; | 69 RtcpBandwidthObserver* bandwidth_callback = nullptr; |
69 | 70 |
70 TransportFeedbackObserver* transport_feedback_callback = nullptr; | 71 TransportFeedbackObserver* transport_feedback_callback = nullptr; |
| 72 VideoBitrateAllocationObserver* bitrate_allocation_observer = nullptr; |
71 RtcpRttStats* rtt_stats = nullptr; | 73 RtcpRttStats* rtt_stats = nullptr; |
72 RtcpPacketTypeCounterObserver* rtcp_packet_type_counter_observer = nullptr; | 74 RtcpPacketTypeCounterObserver* rtcp_packet_type_counter_observer = nullptr; |
73 | 75 |
74 // Estimates the bandwidth available for a set of streams from the same | 76 // Estimates the bandwidth available for a set of streams from the same |
75 // client. | 77 // client. |
76 RemoteBitrateEstimator* remote_bitrate_estimator = nullptr; | 78 RemoteBitrateEstimator* remote_bitrate_estimator = nullptr; |
77 | 79 |
78 // Spread any bursts of packets into smaller bursts to minimize packet loss. | 80 // Spread any bursts of packets into smaller bursts to minimize packet loss. |
79 RtpPacketSender* paced_sender = nullptr; | 81 RtpPacketSender* paced_sender = nullptr; |
80 | 82 |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; | 481 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; |
480 | 482 |
481 // Sends a request for a keyframe. | 483 // Sends a request for a keyframe. |
482 // Returns -1 on failure else 0. | 484 // Returns -1 on failure else 0. |
483 virtual int32_t RequestKeyFrame() = 0; | 485 virtual int32_t RequestKeyFrame() = 0; |
484 }; | 486 }; |
485 | 487 |
486 } // namespace webrtc | 488 } // namespace webrtc |
487 | 489 |
488 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 490 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ |
OLD | NEW |