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 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 RemoteNtpTimeEstimator ntp_estimator_; | 178 RemoteNtpTimeEstimator ntp_estimator_; |
179 RTPPayloadRegistry rtp_payload_registry_; | 179 RTPPayloadRegistry rtp_payload_registry_; |
180 | 180 |
181 const std::unique_ptr<RtpHeaderParser> rtp_header_parser_; | 181 const std::unique_ptr<RtpHeaderParser> rtp_header_parser_; |
182 const std::unique_ptr<RtpReceiver> rtp_receiver_; | 182 const std::unique_ptr<RtpReceiver> rtp_receiver_; |
183 const std::unique_ptr<ReceiveStatistics> rtp_receive_statistics_; | 183 const std::unique_ptr<ReceiveStatistics> rtp_receive_statistics_; |
184 std::unique_ptr<UlpfecReceiver> ulpfec_receiver_; | 184 std::unique_ptr<UlpfecReceiver> ulpfec_receiver_; |
185 | 185 |
186 rtc::SequencedTaskChecker worker_task_checker_; | 186 rtc::SequencedTaskChecker worker_task_checker_; |
187 bool receiving_ GUARDED_BY(worker_task_checker_); | 187 bool receiving_ GUARDED_BY(worker_task_checker_); |
| 188 uint8_t restored_packet_[IP_PACKET_SIZE] GUARDED_BY(worker_task_checker_); |
| 189 bool restored_packet_in_use_ GUARDED_BY(worker_task_checker_); |
188 int64_t last_packet_log_ms_ GUARDED_BY(worker_task_checker_); | 190 int64_t last_packet_log_ms_ GUARDED_BY(worker_task_checker_); |
189 | 191 |
190 const std::unique_ptr<RtpRtcp> rtp_rtcp_; | 192 const std::unique_ptr<RtpRtcp> rtp_rtcp_; |
191 | 193 |
192 // Members for the new jitter buffer experiment. | 194 // Members for the new jitter buffer experiment. |
193 video_coding::OnCompleteFrameCallback* complete_frame_callback_; | 195 video_coding::OnCompleteFrameCallback* complete_frame_callback_; |
194 KeyFrameRequestSender* keyframe_request_sender_; | 196 KeyFrameRequestSender* keyframe_request_sender_; |
195 VCMTiming* timing_; | 197 VCMTiming* timing_; |
196 std::unique_ptr<NackModule> nack_module_; | 198 std::unique_ptr<NackModule> nack_module_; |
197 rtc::scoped_refptr<video_coding::PacketBuffer> packet_buffer_; | 199 rtc::scoped_refptr<video_coding::PacketBuffer> packet_buffer_; |
(...skipping 10 matching lines...) Expand all Loading... |
208 | 210 |
209 bool has_received_frame_; | 211 bool has_received_frame_; |
210 | 212 |
211 std::vector<RtpPacketSinkInterface*> secondary_sinks_ | 213 std::vector<RtpPacketSinkInterface*> secondary_sinks_ |
212 GUARDED_BY(worker_task_checker_); | 214 GUARDED_BY(worker_task_checker_); |
213 }; | 215 }; |
214 | 216 |
215 } // namespace webrtc | 217 } // namespace webrtc |
216 | 218 |
217 #endif // WEBRTC_VIDEO_RTP_VIDEO_STREAM_RECEIVER_H_ | 219 #endif // WEBRTC_VIDEO_RTP_VIDEO_STREAM_RECEIVER_H_ |
OLD | NEW |