Chromium Code Reviews| 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/rtp_rtcp_defines.h" | 22 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
| 23 #include "webrtc/modules/video_coding/include/video_coding_defines.h" | 23 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
| 24 | 24 |
| 25 namespace webrtc { | 25 namespace webrtc { |
| 26 | 26 |
| 27 // Forward declarations. | 27 // Forward declarations. |
| 28 class OverheadPerPacketObserver; | |
| 28 class RateLimiter; | 29 class RateLimiter; |
| 29 class ReceiveStatistics; | 30 class ReceiveStatistics; |
| 30 class RemoteBitrateEstimator; | 31 class RemoteBitrateEstimator; |
| 31 class RtcEventLog; | 32 class RtcEventLog; |
| 32 class RtpReceiver; | 33 class RtpReceiver; |
| 33 class Transport; | 34 class Transport; |
| 34 | 35 |
| 35 RTPExtensionType StringToRtpExtensionType(const std::string& extension); | 36 RTPExtensionType StringToRtpExtensionType(const std::string& extension); |
| 36 | 37 |
| 37 namespace rtcp { | 38 namespace rtcp { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 76 RtpPacketSender* paced_sender = nullptr; | 77 RtpPacketSender* paced_sender = nullptr; |
| 77 | 78 |
| 78 TransportSequenceNumberAllocator* transport_sequence_number_allocator = | 79 TransportSequenceNumberAllocator* transport_sequence_number_allocator = |
| 79 nullptr; | 80 nullptr; |
| 80 BitrateStatisticsObserver* send_bitrate_observer = nullptr; | 81 BitrateStatisticsObserver* send_bitrate_observer = nullptr; |
| 81 FrameCountObserver* send_frame_count_observer = nullptr; | 82 FrameCountObserver* send_frame_count_observer = nullptr; |
| 82 SendSideDelayObserver* send_side_delay_observer = nullptr; | 83 SendSideDelayObserver* send_side_delay_observer = nullptr; |
| 83 RtcEventLog* event_log = nullptr; | 84 RtcEventLog* event_log = nullptr; |
| 84 SendPacketObserver* send_packet_observer = nullptr; | 85 SendPacketObserver* send_packet_observer = nullptr; |
| 85 RateLimiter* retransmission_rate_limiter = nullptr; | 86 RateLimiter* retransmission_rate_limiter = nullptr; |
| 87 OverheadPerPacketObserver* overhead_per_packet_observer = nullptr; | |
|
minyue-webrtc
2016/11/14 11:18:06
I hope it is renamed to OverheadSizeOberver
michaelt
2016/11/14 13:01:27
Done.
| |
| 86 | 88 |
| 87 private: | 89 private: |
| 88 RTC_DISALLOW_COPY_AND_ASSIGN(Configuration); | 90 RTC_DISALLOW_COPY_AND_ASSIGN(Configuration); |
| 89 }; | 91 }; |
| 90 | 92 |
| 91 // Create a RTP/RTCP module object using the system clock. | 93 // Create a RTP/RTCP module object using the system clock. |
| 92 // |configuration| - Configuration of the RTP/RTCP module. | 94 // |configuration| - Configuration of the RTP/RTCP module. |
| 93 static RtpRtcp* CreateRtpRtcp(const RtpRtcp::Configuration& configuration); | 95 static RtpRtcp* CreateRtpRtcp(const RtpRtcp::Configuration& configuration); |
| 94 | 96 |
| 95 // ************************************************************************** | 97 // ************************************************************************** |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 466 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; | 468 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; |
| 467 | 469 |
| 468 // Sends a request for a keyframe. | 470 // Sends a request for a keyframe. |
| 469 // Returns -1 on failure else 0. | 471 // Returns -1 on failure else 0. |
| 470 virtual int32_t RequestKeyFrame() = 0; | 472 virtual int32_t RequestKeyFrame() = 0; |
| 471 }; | 473 }; |
| 472 | 474 |
| 473 } // namespace webrtc | 475 } // namespace webrtc |
| 474 | 476 |
| 475 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 477 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ |
| OLD | NEW |