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

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

Issue 1693553002: Move simple RtpRtcp calls to VideoSendStream. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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
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_SEND_STREAM_H_ 11 #ifndef WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_
12 #define WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ 12 #define WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_
13 13
14 #include <map> 14 #include <map>
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/libyuv/include/webrtc_libyuv.h" 19 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
21 #include "webrtc/video/encoded_frame_callback_adapter.h" 20 #include "webrtc/video/encoded_frame_callback_adapter.h"
22 #include "webrtc/video/encoder_state_feedback.h" 21 #include "webrtc/video/encoder_state_feedback.h"
23 #include "webrtc/video/payload_router.h" 22 #include "webrtc/video/payload_router.h"
24 #include "webrtc/video/send_statistics_proxy.h" 23 #include "webrtc/video/send_statistics_proxy.h"
25 #include "webrtc/video/video_capture_input.h" 24 #include "webrtc/video/video_capture_input.h"
26 #include "webrtc/video/vie_channel.h" 25 #include "webrtc/video/vie_channel.h"
27 #include "webrtc/video/vie_encoder.h" 26 #include "webrtc/video/vie_encoder.h"
28 #include "webrtc/video_receive_stream.h" 27 #include "webrtc/video_receive_stream.h"
29 #include "webrtc/video_send_stream.h" 28 #include "webrtc/video_send_stream.h"
30 29
31 namespace webrtc { 30 namespace webrtc {
32 31
33 class BitrateAllocator; 32 class BitrateAllocator;
34 class CallStats; 33 class CallStats;
35 class CongestionController; 34 class CongestionController;
36 class ProcessThread; 35 class ProcessThread;
36 class RtpRtcp;
37 class ViEChannel; 37 class ViEChannel;
38 class ViEEncoder; 38 class ViEEncoder;
39 class VieRemb; 39 class VieRemb;
40 40
41 namespace internal { 41 namespace internal {
42 42
43 class VideoSendStream : public webrtc::VideoSendStream, 43 class VideoSendStream : public webrtc::VideoSendStream,
44 public webrtc::CpuOveruseObserver { 44 public webrtc::CpuOveruseObserver {
45 public: 45 public:
46 VideoSendStream(int num_cpu_cores, 46 VideoSendStream(int num_cpu_cores,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 CongestionController* const congestion_controller_; 92 CongestionController* const congestion_controller_;
93 VieRemb* const remb_; 93 VieRemb* const remb_;
94 94
95 OveruseFrameDetector overuse_detector_; 95 OveruseFrameDetector overuse_detector_;
96 PayloadRouter payload_router_; 96 PayloadRouter payload_router_;
97 ViEEncoder vie_encoder_; 97 ViEEncoder vie_encoder_;
98 VideoCodingModule* const vcm_; 98 VideoCodingModule* const vcm_;
99 EncoderStateFeedback encoder_feedback_; 99 EncoderStateFeedback encoder_feedback_;
100 ViEChannel vie_channel_; 100 ViEChannel vie_channel_;
101 ViEReceiver* const vie_receiver_; 101 ViEReceiver* const vie_receiver_;
102 // TODO(pbos): Move RtpRtcp ownership to VideoSendStream.
103 // RtpRtcp modules, currently owned by ViEChannel but ownership should
104 // eventually move here.
105 const std::vector<RtpRtcp*> rtp_rtcp_modules_;
102 VideoCaptureInput input_; 106 VideoCaptureInput input_;
103 }; 107 };
104 } // namespace internal 108 } // namespace internal
105 } // namespace webrtc 109 } // namespace webrtc
106 110
107 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ 111 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698