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

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: 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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 CallStats* call_stats, 55 CallStats* call_stats,
56 CongestionController* congestion_controller, 56 CongestionController* congestion_controller,
57 BitrateAllocator* bitrate_allocator, 57 BitrateAllocator* bitrate_allocator,
58 VieRemb* remb, 58 VieRemb* remb,
59 const VideoSendStream::Config& config, 59 const VideoSendStream::Config& config,
60 const VideoEncoderConfig& encoder_config, 60 const VideoEncoderConfig& encoder_config,
61 const std::map<uint32_t, RtpState>& suspended_ssrcs); 61 const std::map<uint32_t, RtpState>& suspended_ssrcs);
62 62
63 ~VideoSendStream() override; 63 ~VideoSendStream() override;
64 64
65 // webrtc::SendStream implementation. 65 void SignalNetworkState(NetworkState state);
66
67 // webrtc::VideoSendStream implementation.
66 void Start() override; 68 void Start() override;
67 void Stop() override; 69 void Stop() override;
68 void SignalNetworkState(NetworkState state) override;
69 bool DeliverRtcp(const uint8_t* packet, size_t length) override; 70 bool DeliverRtcp(const uint8_t* packet, size_t length) override;
70 71
71 // webrtc::VideoSendStream implementation.
72 VideoCaptureInput* Input() override; 72 VideoCaptureInput* Input() override;
73 void ReconfigureVideoEncoder(const VideoEncoderConfig& config) override; 73 void ReconfigureVideoEncoder(const VideoEncoderConfig& config) override;
74 Stats GetStats() override; 74 Stats GetStats() override;
75 75
76 // webrtc::CpuOveruseObserver implementation. 76 // webrtc::CpuOveruseObserver implementation.
77 void OveruseDetected() override; 77 void OveruseDetected() override;
78 void NormalUsage() override; 78 void NormalUsage() override;
79 79
80 typedef std::map<uint32_t, RtpState> RtpStateMap; 80 typedef std::map<uint32_t, RtpState> RtpStateMap;
81 RtpStateMap GetRtpStates() const; 81 RtpStateMap GetRtpStates() const;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_; 131 const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_;
132 // RtpRtcp modules, declared here as they use other members on construction. 132 // RtpRtcp modules, declared here as they use other members on construction.
133 const std::vector<RtpRtcp*> rtp_rtcp_modules_; 133 const std::vector<RtpRtcp*> rtp_rtcp_modules_;
134 PayloadRouter payload_router_; 134 PayloadRouter payload_router_;
135 VideoCaptureInput input_; 135 VideoCaptureInput input_;
136 }; 136 };
137 } // namespace internal 137 } // namespace internal
138 } // namespace webrtc 138 } // namespace webrtc
139 139
140 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ 140 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698