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_INTERFACE_RTP_RTCP_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ |
12 #define WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ |
13 | 13 |
14 #include <set> | 14 #include <set> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/modules/interface/module.h" | 17 #include "webrtc/modules/interface/module.h" |
18 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" | 18 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 // Forward declarations. | 21 // Forward declarations. |
22 class PacedSender; | |
23 class PacketRouter; | |
24 class ReceiveStatistics; | 22 class ReceiveStatistics; |
25 class RemoteBitrateEstimator; | 23 class RemoteBitrateEstimator; |
26 class RtpReceiver; | 24 class RtpReceiver; |
27 class Transport; | 25 class Transport; |
28 namespace rtcp { | 26 namespace rtcp { |
29 class TransportFeedback; | 27 class TransportFeedback; |
30 } | 28 } |
31 | 29 |
32 class RtpRtcp : public Module { | 30 class RtpRtcp : public Module { |
33 public: | 31 public: |
(...skipping 28 matching lines...) Expand all Loading... |
62 Clock* clock; | 60 Clock* clock; |
63 ReceiveStatistics* receive_statistics; | 61 ReceiveStatistics* receive_statistics; |
64 Transport* outgoing_transport; | 62 Transport* outgoing_transport; |
65 RtcpIntraFrameObserver* intra_frame_callback; | 63 RtcpIntraFrameObserver* intra_frame_callback; |
66 RtcpBandwidthObserver* bandwidth_callback; | 64 RtcpBandwidthObserver* bandwidth_callback; |
67 TransportFeedbackObserver* transport_feedback_callback; | 65 TransportFeedbackObserver* transport_feedback_callback; |
68 RtcpRttStats* rtt_stats; | 66 RtcpRttStats* rtt_stats; |
69 RtcpPacketTypeCounterObserver* rtcp_packet_type_counter_observer; | 67 RtcpPacketTypeCounterObserver* rtcp_packet_type_counter_observer; |
70 RtpAudioFeedback* audio_messages; | 68 RtpAudioFeedback* audio_messages; |
71 RemoteBitrateEstimator* remote_bitrate_estimator; | 69 RemoteBitrateEstimator* remote_bitrate_estimator; |
72 PacedSender* paced_sender; | 70 RtpPacketSender* paced_sender; |
73 PacketRouter* packet_router; | 71 TransportSequenceNumberAllocator* transport_sequence_number_allocator; |
74 BitrateStatisticsObserver* send_bitrate_observer; | 72 BitrateStatisticsObserver* send_bitrate_observer; |
75 FrameCountObserver* send_frame_count_observer; | 73 FrameCountObserver* send_frame_count_observer; |
76 SendSideDelayObserver* send_side_delay_observer; | 74 SendSideDelayObserver* send_side_delay_observer; |
77 }; | 75 }; |
78 | 76 |
79 /* | 77 /* |
80 * Create a RTP/RTCP module object using the system clock. | 78 * Create a RTP/RTCP module object using the system clock. |
81 * | 79 * |
82 * configuration - Configuration of the RTP/RTCP module. | 80 * configuration - Configuration of the RTP/RTCP module. |
83 */ | 81 */ |
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 | 632 |
635 /* | 633 /* |
636 * send a request for a keyframe | 634 * send a request for a keyframe |
637 * | 635 * |
638 * return -1 on failure else 0 | 636 * return -1 on failure else 0 |
639 */ | 637 */ |
640 virtual int32_t RequestKeyFrame() = 0; | 638 virtual int32_t RequestKeyFrame() = 0; |
641 }; | 639 }; |
642 } // namespace webrtc | 640 } // namespace webrtc |
643 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ | 641 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ |
OLD | NEW |