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_SOURCE_RTP_SENDER_VIDEO_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_ |
12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 #include <memory> | 15 #include <memory> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
| 18 #include "webrtc/base/criticalsection.h" |
| 19 #include "webrtc/base/onetimeevent.h" |
| 20 #include "webrtc/base/optional.h" |
| 21 #include "webrtc/base/rate_statistics.h" |
| 22 #include "webrtc/base/sequenced_task_checker.h" |
| 23 #include "webrtc/base/thread_annotations.h" |
18 #include "webrtc/common_types.h" | 24 #include "webrtc/common_types.h" |
19 #include "webrtc/modules/rtp_rtcp/include/flexfec_sender.h" | 25 #include "webrtc/modules/rtp_rtcp/include/flexfec_sender.h" |
20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 26 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
21 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h" | 27 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h" |
22 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" | 28 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" |
23 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 29 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
24 #include "webrtc/modules/rtp_rtcp/source/ulpfec_generator.h" | 30 #include "webrtc/modules/rtp_rtcp/source/ulpfec_generator.h" |
25 #include "webrtc/modules/rtp_rtcp/source/video_codec_information.h" | 31 #include "webrtc/modules/rtp_rtcp/source/video_codec_information.h" |
26 #include "webrtc/rtc_base/criticalsection.h" | |
27 #include "webrtc/rtc_base/onetimeevent.h" | |
28 #include "webrtc/rtc_base/optional.h" | |
29 #include "webrtc/rtc_base/rate_statistics.h" | |
30 #include "webrtc/rtc_base/sequenced_task_checker.h" | |
31 #include "webrtc/rtc_base/thread_annotations.h" | |
32 #include "webrtc/typedefs.h" | 32 #include "webrtc/typedefs.h" |
33 | 33 |
34 namespace webrtc { | 34 namespace webrtc { |
35 class RtpPacketToSend; | 35 class RtpPacketToSend; |
36 | 36 |
37 class RTPSenderVideo { | 37 class RTPSenderVideo { |
38 public: | 38 public: |
39 RTPSenderVideo(Clock* clock, | 39 RTPSenderVideo(Clock* clock, |
40 RTPSender* rtpSender, | 40 RTPSender* rtpSender, |
41 FlexfecSender* flexfec_sender); | 41 FlexfecSender* flexfec_sender); |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // and any padding overhead. | 130 // and any padding overhead. |
131 RateStatistics fec_bitrate_ GUARDED_BY(stats_crit_); | 131 RateStatistics fec_bitrate_ GUARDED_BY(stats_crit_); |
132 // Bitrate used for video payload and RTP headers. | 132 // Bitrate used for video payload and RTP headers. |
133 RateStatistics video_bitrate_ GUARDED_BY(stats_crit_); | 133 RateStatistics video_bitrate_ GUARDED_BY(stats_crit_); |
134 OneTimeEvent first_frame_sent_; | 134 OneTimeEvent first_frame_sent_; |
135 }; | 135 }; |
136 | 136 |
137 } // namespace webrtc | 137 } // namespace webrtc |
138 | 138 |
139 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_ | 139 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_ |
OLD | NEW |