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 | 15 |
| 16 #include "webrtc/base/onetimeevent.h" |
16 #include "webrtc/base/scoped_ptr.h" | 17 #include "webrtc/base/scoped_ptr.h" |
17 #include "webrtc/base/thread_annotations.h" | 18 #include "webrtc/base/thread_annotations.h" |
18 #include "webrtc/common_types.h" | 19 #include "webrtc/common_types.h" |
19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
20 #include "webrtc/modules/rtp_rtcp/source/bitrate.h" | 21 #include "webrtc/modules/rtp_rtcp/source/bitrate.h" |
21 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" | 22 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" |
22 #include "webrtc/modules/rtp_rtcp/source/producer_fec.h" | 23 #include "webrtc/modules/rtp_rtcp/source/producer_fec.h" |
23 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h" | 24 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h" |
24 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" | 25 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" |
25 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 26 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 int8_t fec_payload_type_ GUARDED_BY(crit_); | 110 int8_t fec_payload_type_ GUARDED_BY(crit_); |
110 FecProtectionParams delta_fec_params_ GUARDED_BY(crit_); | 111 FecProtectionParams delta_fec_params_ GUARDED_BY(crit_); |
111 FecProtectionParams key_fec_params_ GUARDED_BY(crit_); | 112 FecProtectionParams key_fec_params_ GUARDED_BY(crit_); |
112 ProducerFec producer_fec_ GUARDED_BY(crit_); | 113 ProducerFec producer_fec_ GUARDED_BY(crit_); |
113 | 114 |
114 // Bitrate used for FEC payload, RED headers, RTP headers for FEC packets | 115 // Bitrate used for FEC payload, RED headers, RTP headers for FEC packets |
115 // and any padding overhead. | 116 // and any padding overhead. |
116 Bitrate _fecOverheadRate; | 117 Bitrate _fecOverheadRate; |
117 // Bitrate used for video payload and RTP headers | 118 // Bitrate used for video payload and RTP headers |
118 Bitrate _videoBitrate; | 119 Bitrate _videoBitrate; |
| 120 OneTimeEvent first_frame_sent_; |
119 }; | 121 }; |
120 } // namespace webrtc | 122 } // namespace webrtc |
121 | 123 |
122 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_ | 124 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_ |
OLD | NEW |