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

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

Issue 1924793002: Remove webrtc/stream.h and unutilized inheritance. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: re-rebase Created 4 years, 7 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/video/video_receive_stream.cc ('k') | webrtc/video/video_send_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
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 CallStats* call_stats, 56 CallStats* call_stats,
57 CongestionController* congestion_controller, 57 CongestionController* congestion_controller,
58 BitrateAllocator* bitrate_allocator, 58 BitrateAllocator* bitrate_allocator,
59 VieRemb* remb, 59 VieRemb* remb,
60 const VideoSendStream::Config& config, 60 const VideoSendStream::Config& config,
61 const VideoEncoderConfig& encoder_config, 61 const VideoEncoderConfig& encoder_config,
62 const std::map<uint32_t, RtpState>& suspended_ssrcs); 62 const std::map<uint32_t, RtpState>& suspended_ssrcs);
63 63
64 ~VideoSendStream() override; 64 ~VideoSendStream() override;
65 65
66 // webrtc::SendStream implementation. 66 void SignalNetworkState(NetworkState state);
67 bool DeliverRtcp(const uint8_t* packet, size_t length);
68
69 // webrtc::VideoSendStream implementation.
67 void Start() override; 70 void Start() override;
68 void Stop() override; 71 void Stop() override;
69 void SignalNetworkState(NetworkState state) override;
70 bool DeliverRtcp(const uint8_t* packet, size_t length) override;
71
72 // webrtc::VideoSendStream implementation.
73 VideoCaptureInput* Input() override; 72 VideoCaptureInput* Input() override;
74 void ReconfigureVideoEncoder(const VideoEncoderConfig& config) override; 73 void ReconfigureVideoEncoder(const VideoEncoderConfig& config) override;
75 Stats GetStats() override; 74 Stats GetStats() override;
76 75
77 // webrtc::CpuOveruseObserver implementation. 76 // webrtc::CpuOveruseObserver implementation.
78 void OveruseDetected() override; 77 void OveruseDetected() override;
79 void NormalUsage() override; 78 void NormalUsage() override;
80 79
81 typedef std::map<uint32_t, RtpState> RtpStateMap; 80 typedef std::map<uint32_t, RtpState> RtpStateMap;
82 RtpStateMap GetRtpStates() const; 81 RtpStateMap GetRtpStates() const;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_; 131 const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_;
133 // RtpRtcp modules, declared here as they use other members on construction. 132 // RtpRtcp modules, declared here as they use other members on construction.
134 const std::vector<RtpRtcp*> rtp_rtcp_modules_; 133 const std::vector<RtpRtcp*> rtp_rtcp_modules_;
135 PayloadRouter payload_router_; 134 PayloadRouter payload_router_;
136 VideoCaptureInput input_; 135 VideoCaptureInput input_;
137 }; 136 };
138 } // namespace internal 137 } // namespace internal
139 } // namespace webrtc 138 } // namespace webrtc
140 139
141 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ 140 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/video/video_receive_stream.cc ('k') | webrtc/video/video_send_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698