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 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |