Chromium Code Reviews| 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 <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "webrtc/base/scoped_ptr.h" | 16 #include "webrtc/base/scoped_ptr.h" |
| 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/system_wrappers/include/clock.h" | 22 #include "webrtc/system_wrappers/include/clock.h" |
| 23 #include "webrtc/video/encoded_frame_callback_adapter.h" | 23 #include "webrtc/video/encoded_frame_callback_adapter.h" |
| 24 #include "webrtc/video/payload_router.h" | |
|
mflodman
2016/02/05 13:01:28
This doesn't seem righ.
| |
| 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 |
| 32 class CallStats; | 33 class CallStats; |
| 33 class CongestionController; | 34 class CongestionController; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 73 const RTPFragmentationHeader* fragmentation) override; | 74 const RTPFragmentationHeader* fragmentation) override; |
| 74 | 75 |
| 75 const Config& config() const { return config_; } | 76 const Config& config() const { return config_; } |
| 76 | 77 |
| 77 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id); | 78 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id); |
| 78 | 79 |
| 79 private: | 80 private: |
| 80 TransportAdapter transport_adapter_; | 81 TransportAdapter transport_adapter_; |
| 81 EncodedFrameCallbackAdapter encoded_frame_proxy_; | 82 EncodedFrameCallbackAdapter encoded_frame_proxy_; |
| 82 const VideoReceiveStream::Config config_; | 83 const VideoReceiveStream::Config config_; |
| 84 ProcessThread* const process_thread_; | |
|
mflodman
2016/02/05 13:01:28
Old, but we should forward declare ProcessThread i
| |
| 83 Clock* const clock_; | 85 Clock* const clock_; |
| 84 | 86 |
| 85 CongestionController* const congestion_controller_; | 87 CongestionController* const congestion_controller_; |
| 86 CallStats* const call_stats_; | 88 CallStats* const call_stats_; |
| 87 | 89 |
| 90 rtc::scoped_ptr<VideoCodingModule> vcm_; | |
| 88 rtc::scoped_ptr<IncomingVideoStream> incoming_video_stream_; | 91 rtc::scoped_ptr<IncomingVideoStream> incoming_video_stream_; |
| 89 rtc::scoped_ptr<ReceiveStatisticsProxy> stats_proxy_; | 92 rtc::scoped_ptr<ReceiveStatisticsProxy> stats_proxy_; |
| 90 rtc::scoped_ptr<ViEChannel> vie_channel_; | 93 rtc::scoped_ptr<ViEChannel> vie_channel_; |
| 91 }; | 94 }; |
| 92 } // namespace internal | 95 } // namespace internal |
| 93 } // namespace webrtc | 96 } // namespace webrtc |
| 94 | 97 |
| 95 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 98 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |