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_VIDEO_RTP_VIDEO_STREAM_RECEIVER_H_ | 11 #ifndef WEBRTC_VIDEO_RTP_VIDEO_STREAM_RECEIVER_H_ |
12 #define WEBRTC_VIDEO_RTP_VIDEO_STREAM_RECEIVER_H_ | 12 #define WEBRTC_VIDEO_RTP_VIDEO_STREAM_RECEIVER_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 #include <map> | 15 #include <map> |
16 #include <memory> | 16 #include <memory> |
17 #include <string> | 17 #include <string> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
| 20 #include "webrtc/base/constructormagic.h" |
| 21 #include "webrtc/base/criticalsection.h" |
20 #include "webrtc/call/rtp_packet_sink_interface.h" | 22 #include "webrtc/call/rtp_packet_sink_interface.h" |
21 #include "webrtc/modules/include/module_common_types.h" | 23 #include "webrtc/modules/include/module_common_types.h" |
22 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" | 24 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" |
23 #include "webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h" | 25 #include "webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h" |
24 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" | 26 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" |
25 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" | 27 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" |
26 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 28 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
27 #include "webrtc/modules/video_coding/h264_sps_pps_tracker.h" | 29 #include "webrtc/modules/video_coding/h264_sps_pps_tracker.h" |
28 #include "webrtc/modules/video_coding/include/video_coding_defines.h" | 30 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
29 #include "webrtc/modules/video_coding/packet_buffer.h" | 31 #include "webrtc/modules/video_coding/packet_buffer.h" |
30 #include "webrtc/modules/video_coding/rtp_frame_reference_finder.h" | 32 #include "webrtc/modules/video_coding/rtp_frame_reference_finder.h" |
31 #include "webrtc/modules/video_coding/sequence_number_util.h" | 33 #include "webrtc/modules/video_coding/sequence_number_util.h" |
32 #include "webrtc/rtc_base/constructormagic.h" | |
33 #include "webrtc/rtc_base/criticalsection.h" | |
34 #include "webrtc/typedefs.h" | 34 #include "webrtc/typedefs.h" |
35 #include "webrtc/video_receive_stream.h" | 35 #include "webrtc/video_receive_stream.h" |
36 | 36 |
37 namespace webrtc { | 37 namespace webrtc { |
38 | 38 |
39 class NackModule; | 39 class NackModule; |
40 class PacedSender; | 40 class PacedSender; |
41 class PacketRouter; | 41 class PacketRouter; |
42 class ProcessThread; | 42 class ProcessThread; |
43 class ReceiveStatistics; | 43 class ReceiveStatistics; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 // Maps a payload type to a map of out-of-band supplied codec parameters. | 199 // Maps a payload type to a map of out-of-band supplied codec parameters. |
200 std::map<uint8_t, std::map<std::string, std::string>> pt_codec_params_; | 200 std::map<uint8_t, std::map<std::string, std::string>> pt_codec_params_; |
201 int16_t last_payload_type_ = -1; | 201 int16_t last_payload_type_ = -1; |
202 | 202 |
203 bool has_received_frame_; | 203 bool has_received_frame_; |
204 }; | 204 }; |
205 | 205 |
206 } // namespace webrtc | 206 } // namespace webrtc |
207 | 207 |
208 #endif // WEBRTC_VIDEO_RTP_VIDEO_STREAM_RECEIVER_H_ | 208 #endif // WEBRTC_VIDEO_RTP_VIDEO_STREAM_RECEIVER_H_ |
OLD | NEW |