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 <utility> | 15 #include <utility> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/modules/include/module.h" | 18 #include "webrtc/modules/include/module.h" |
19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
20 | 20 |
21 namespace webrtc { | 21 namespace webrtc { |
22 // Forward declarations. | 22 // Forward declarations. |
23 class ReceiveStatistics; | 23 class ReceiveStatistics; |
24 class RemoteBitrateEstimator; | 24 class RemoteBitrateEstimator; |
25 class RtpReceiver; | 25 class RtpReceiver; |
26 class Transport; | 26 class Transport; |
27 class RtcEventLog; | |
27 namespace rtcp { | 28 namespace rtcp { |
stefan-webrtc
2016/01/11 13:12:59
Empty line above.
terelius
2016/01/11 15:04:03
Done.
| |
28 class TransportFeedback; | 29 class TransportFeedback; |
29 } | 30 } |
30 | 31 |
31 class RtpRtcp : public Module { | 32 class RtpRtcp : public Module { |
32 public: | 33 public: |
33 struct Configuration { | 34 struct Configuration { |
34 Configuration(); | 35 Configuration(); |
35 | 36 |
36 /* id - Unique identifier of this RTP/RTCP module object | 37 /* id - Unique identifier of this RTP/RTCP module object |
37 * audio - True for a audio version of the RTP/RTCP module | 38 * audio - True for a audio version of the RTP/RTCP module |
(...skipping 28 matching lines...) Expand all Loading... | |
66 TransportFeedbackObserver* transport_feedback_callback; | 67 TransportFeedbackObserver* transport_feedback_callback; |
67 RtcpRttStats* rtt_stats; | 68 RtcpRttStats* rtt_stats; |
68 RtcpPacketTypeCounterObserver* rtcp_packet_type_counter_observer; | 69 RtcpPacketTypeCounterObserver* rtcp_packet_type_counter_observer; |
69 RtpAudioFeedback* audio_messages; | 70 RtpAudioFeedback* audio_messages; |
70 RemoteBitrateEstimator* remote_bitrate_estimator; | 71 RemoteBitrateEstimator* remote_bitrate_estimator; |
71 RtpPacketSender* paced_sender; | 72 RtpPacketSender* paced_sender; |
72 TransportSequenceNumberAllocator* transport_sequence_number_allocator; | 73 TransportSequenceNumberAllocator* transport_sequence_number_allocator; |
73 BitrateStatisticsObserver* send_bitrate_observer; | 74 BitrateStatisticsObserver* send_bitrate_observer; |
74 FrameCountObserver* send_frame_count_observer; | 75 FrameCountObserver* send_frame_count_observer; |
75 SendSideDelayObserver* send_side_delay_observer; | 76 SendSideDelayObserver* send_side_delay_observer; |
77 RtcEventLog* event_log; | |
the sun
2016/01/11 12:36:16
= nullptr
stefan-webrtc
2016/01/11 13:12:59
I'd prefer not to mix "= nullptr" with initializin
terelius
2016/01/11 13:22:11
Yeah, I was just about to ask whether the I should
the sun
2016/01/11 13:40:22
That is already hard since we do not include *all*
terelius
2016/01/11 15:04:03
Added RTC_DISALLOW_COPY_AND_ASSIGN.
| |
76 }; | 78 }; |
77 | 79 |
78 /* | 80 /* |
79 * Create a RTP/RTCP module object using the system clock. | 81 * Create a RTP/RTCP module object using the system clock. |
80 * | 82 * |
81 * configuration - Configuration of the RTP/RTCP module. | 83 * configuration - Configuration of the RTP/RTCP module. |
82 */ | 84 */ |
83 static RtpRtcp* CreateRtpRtcp(const RtpRtcp::Configuration& configuration); | 85 static RtpRtcp* CreateRtpRtcp(const RtpRtcp::Configuration& configuration); |
84 | 86 |
85 /************************************************************************** | 87 /************************************************************************** |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
644 | 646 |
645 /* | 647 /* |
646 * send a request for a keyframe | 648 * send a request for a keyframe |
647 * | 649 * |
648 * return -1 on failure else 0 | 650 * return -1 on failure else 0 |
649 */ | 651 */ |
650 virtual int32_t RequestKeyFrame() = 0; | 652 virtual int32_t RequestKeyFrame() = 0; |
651 }; | 653 }; |
652 } // namespace webrtc | 654 } // namespace webrtc |
653 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 655 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ |
OLD | NEW |