OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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_VIDEO_RECEIVE_STREAM_H_ | 11 #ifndef WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
12 #define WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 12 #define WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/call.h" | 17 #include "webrtc/call.h" |
18 #include "webrtc/call/transport_adapter.h" | 18 #include "webrtc/call/transport_adapter.h" |
19 #include "webrtc/common_video/include/incoming_video_stream.h" | 19 #include "webrtc/common_video/include/incoming_video_stream.h" |
20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
21 #include "webrtc/modules/video_coding/video_coding_impl.h" | 21 #include "webrtc/modules/video_coding/video_coding_impl.h" |
22 #include "webrtc/system_wrappers/include/clock.h" | 22 #include "webrtc/system_wrappers/include/clock.h" |
23 #include "webrtc/video/receive_statistics_proxy.h" | 23 #include "webrtc/video/receive_statistics_proxy.h" |
24 #include "webrtc/video/rtp_stream_receiver.h" | 24 #include "webrtc/video/rtp_stream_receiver.h" |
| 25 #include "webrtc/video/rtp_streams_synchronizer.h" |
25 #include "webrtc/video/video_stream_decoder.h" | 26 #include "webrtc/video/video_stream_decoder.h" |
26 #include "webrtc/video_receive_stream.h" | 27 #include "webrtc/video_receive_stream.h" |
27 | 28 |
28 namespace webrtc { | 29 namespace webrtc { |
29 | 30 |
30 class CallStats; | 31 class CallStats; |
31 class CongestionController; | 32 class CongestionController; |
32 class IvfFileWriter; | 33 class IvfFileWriter; |
33 class ProcessThread; | 34 class ProcessThread; |
| 35 class RTPFragmentationHeader; |
34 class VoiceEngine; | 36 class VoiceEngine; |
35 class VieRemb; | 37 class VieRemb; |
36 | 38 |
37 namespace internal { | 39 namespace internal { |
38 | 40 |
39 class VideoReceiveStream : public webrtc::VideoReceiveStream, | 41 class VideoReceiveStream : public webrtc::VideoReceiveStream, |
40 public rtc::VideoSinkInterface<VideoFrame>, | 42 public rtc::VideoSinkInterface<VideoFrame>, |
41 public EncodedImageCallback, | 43 public EncodedImageCallback, |
42 public NackSender, | 44 public NackSender, |
43 public KeyFrameRequestSender { | 45 public KeyFrameRequestSender { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 rtc::PlatformThread decode_thread_; | 96 rtc::PlatformThread decode_thread_; |
95 | 97 |
96 CongestionController* const congestion_controller_; | 98 CongestionController* const congestion_controller_; |
97 CallStats* const call_stats_; | 99 CallStats* const call_stats_; |
98 | 100 |
99 vcm::VideoReceiver video_receiver_; | 101 vcm::VideoReceiver video_receiver_; |
100 std::unique_ptr<rtc::VideoSinkInterface<VideoFrame>> incoming_video_stream_; | 102 std::unique_ptr<rtc::VideoSinkInterface<VideoFrame>> incoming_video_stream_; |
101 ReceiveStatisticsProxy stats_proxy_; | 103 ReceiveStatisticsProxy stats_proxy_; |
102 RtpStreamReceiver rtp_stream_receiver_; | 104 RtpStreamReceiver rtp_stream_receiver_; |
103 std::unique_ptr<VideoStreamDecoder> video_stream_decoder_; | 105 std::unique_ptr<VideoStreamDecoder> video_stream_decoder_; |
104 ViESyncModule vie_sync_; | 106 RtpStreamsSynchronizer rtp_stream_sync_; |
105 | 107 |
106 std::unique_ptr<IvfFileWriter> ivf_writer_; | 108 std::unique_ptr<IvfFileWriter> ivf_writer_; |
107 }; | 109 }; |
108 } // namespace internal | 110 } // namespace internal |
109 } // namespace webrtc | 111 } // namespace webrtc |
110 | 112 |
111 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 113 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
OLD | NEW |