Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: webrtc/video/rtp_stream_receiver.h

Issue 2451643002: Rename FecReceiver to UlpfecReceiver. (Closed)
Patch Set: Fix GYP. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 11 matching lines...) Expand all
22 #include "webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h" 22 #include "webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h"
23 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" 23 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h"
24 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" 24 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h"
25 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 25 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
26 #include "webrtc/modules/video_coding/include/video_coding_defines.h" 26 #include "webrtc/modules/video_coding/include/video_coding_defines.h"
27 #include "webrtc/typedefs.h" 27 #include "webrtc/typedefs.h"
28 #include "webrtc/video_receive_stream.h" 28 #include "webrtc/video_receive_stream.h"
29 29
30 namespace webrtc { 30 namespace webrtc {
31 31
32 class FecReceiver;
33 class PacedSender; 32 class PacedSender;
34 class PacketRouter; 33 class PacketRouter;
35 class ProcessThread; 34 class ProcessThread;
36 class RemoteNtpTimeEstimator; 35 class RemoteNtpTimeEstimator;
37 class ReceiveStatistics; 36 class ReceiveStatistics;
38 class ReceiveStatisticsProxy; 37 class ReceiveStatisticsProxy;
39 class RemoteBitrateEstimator; 38 class RemoteBitrateEstimator;
40 class RtcpRttStats; 39 class RtcpRttStats;
41 class RtpHeaderParser; 40 class RtpHeaderParser;
42 class RTPPayloadRegistry; 41 class RTPPayloadRegistry;
43 class RtpReceiver; 42 class RtpReceiver;
44 class Transport; 43 class Transport;
44 class UlpfecReceiver;
45 class VieRemb; 45 class VieRemb;
46 46
47 namespace vcm { 47 namespace vcm {
48 class VideoReceiver; 48 class VideoReceiver;
49 } // namespace vcm 49 } // namespace vcm
50 50
51 class RtpStreamReceiver : public RtpData, public RtpFeedback, 51 class RtpStreamReceiver : public RtpData, public RtpFeedback,
52 public VCMFrameTypeCallback, 52 public VCMFrameTypeCallback,
53 public VCMPacketRequestCallback { 53 public VCMPacketRequestCallback {
54 public: 54 public:
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 PacketRouter* const packet_router_; 135 PacketRouter* const packet_router_;
136 VieRemb* const remb_; 136 VieRemb* const remb_;
137 ProcessThread* const process_thread_; 137 ProcessThread* const process_thread_;
138 138
139 RemoteNtpTimeEstimator ntp_estimator_; 139 RemoteNtpTimeEstimator ntp_estimator_;
140 RTPPayloadRegistry rtp_payload_registry_; 140 RTPPayloadRegistry rtp_payload_registry_;
141 141
142 const std::unique_ptr<RtpHeaderParser> rtp_header_parser_; 142 const std::unique_ptr<RtpHeaderParser> rtp_header_parser_;
143 const std::unique_ptr<RtpReceiver> rtp_receiver_; 143 const std::unique_ptr<RtpReceiver> rtp_receiver_;
144 const std::unique_ptr<ReceiveStatistics> rtp_receive_statistics_; 144 const std::unique_ptr<ReceiveStatistics> rtp_receive_statistics_;
145 std::unique_ptr<FecReceiver> fec_receiver_; 145 std::unique_ptr<UlpfecReceiver> ulpfec_receiver_;
146 146
147 rtc::CriticalSection receive_cs_; 147 rtc::CriticalSection receive_cs_;
148 bool receiving_ GUARDED_BY(receive_cs_); 148 bool receiving_ GUARDED_BY(receive_cs_);
149 uint8_t restored_packet_[IP_PACKET_SIZE] GUARDED_BY(receive_cs_); 149 uint8_t restored_packet_[IP_PACKET_SIZE] GUARDED_BY(receive_cs_);
150 bool restored_packet_in_use_ GUARDED_BY(receive_cs_); 150 bool restored_packet_in_use_ GUARDED_BY(receive_cs_);
151 int64_t last_packet_log_ms_ GUARDED_BY(receive_cs_); 151 int64_t last_packet_log_ms_ GUARDED_BY(receive_cs_);
152 152
153 const std::unique_ptr<RtpRtcp> rtp_rtcp_; 153 const std::unique_ptr<RtpRtcp> rtp_rtcp_;
154 }; 154 };
155 155
156 } // namespace webrtc 156 } // namespace webrtc
157 157
158 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_ 158 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/ulpfec_receiver_unittest.cc ('k') | webrtc/video/rtp_stream_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698