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

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

Issue 1905983002: Use vcm::VideoReceiver on the receive side. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 months 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
« no previous file with comments | « webrtc/modules/video_coding/video_coding_impl.cc ('k') | webrtc/video/video_receive_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_render/video_render_defines.h" 21 #include "webrtc/modules/video_render/video_render_defines.h"
22 #include "webrtc/modules/video_coding/video_coding_impl.h"
22 #include "webrtc/system_wrappers/include/clock.h" 23 #include "webrtc/system_wrappers/include/clock.h"
23 #include "webrtc/video/encoded_frame_callback_adapter.h" 24 #include "webrtc/video/encoded_frame_callback_adapter.h"
24 #include "webrtc/video/receive_statistics_proxy.h" 25 #include "webrtc/video/receive_statistics_proxy.h"
25 #include "webrtc/video/vie_channel.h" 26 #include "webrtc/video/vie_channel.h"
26 #include "webrtc/video/vie_encoder.h" 27 #include "webrtc/video/vie_encoder.h"
27 #include "webrtc/video_encoder.h" 28 #include "webrtc/video_encoder.h"
28 #include "webrtc/video_receive_stream.h" 29 #include "webrtc/video_receive_stream.h"
29 30
30 namespace webrtc { 31 namespace webrtc {
31 32
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 const VideoReceiveStream::Config config_; 98 const VideoReceiveStream::Config config_;
98 ProcessThread* const process_thread_; 99 ProcessThread* const process_thread_;
99 Clock* const clock_; 100 Clock* const clock_;
100 101
101 rtc::PlatformThread decode_thread_; 102 rtc::PlatformThread decode_thread_;
102 103
103 CongestionController* const congestion_controller_; 104 CongestionController* const congestion_controller_;
104 CallStats* const call_stats_; 105 CallStats* const call_stats_;
105 VieRemb* const remb_; 106 VieRemb* const remb_;
106 107
107 std::unique_ptr<VideoCodingModule> vcm_; 108 vcm::VideoReceiver video_receiver_;
108 IncomingVideoStream incoming_video_stream_; 109 IncomingVideoStream incoming_video_stream_;
109 ReceiveStatisticsProxy stats_proxy_; 110 ReceiveStatisticsProxy stats_proxy_;
110 ViEChannel vie_channel_; 111 ViEChannel vie_channel_;
111 ViEReceiver* const vie_receiver_; 112 ViEReceiver* const vie_receiver_;
112 ViESyncModule vie_sync_; 113 ViESyncModule vie_sync_;
113 RtpRtcp* const rtp_rtcp_; 114 RtpRtcp* const rtp_rtcp_;
114 115
115 std::unique_ptr<IvfFileWriter> ivf_writer_; 116 std::unique_ptr<IvfFileWriter> ivf_writer_;
116 }; 117 };
117 } // namespace internal 118 } // namespace internal
118 } // namespace webrtc 119 } // namespace webrtc
119 120
120 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ 121 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/video_coding_impl.cc ('k') | webrtc/video/video_receive_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698