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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 // webrtc::CpuOveruseObserver implementation. | 80 // webrtc::CpuOveruseObserver implementation. |
81 void OveruseDetected() override; | 81 void OveruseDetected() override; |
82 void NormalUsage() override; | 82 void NormalUsage() override; |
83 | 83 |
84 typedef std::map<uint32_t, RtpState> RtpStateMap; | 84 typedef std::map<uint32_t, RtpState> RtpStateMap; |
85 RtpStateMap GetRtpStates() const; | 85 RtpStateMap GetRtpStates() const; |
86 | 86 |
87 int GetPaddingNeededBps() const; | 87 int GetPaddingNeededBps() const; |
88 | 88 |
89 // Implements BitrateAllocatorObserver. | 89 // Implements BitrateAllocatorObserver. |
90 void OnBitrateUpdated(uint32_t bitrate_bps, | 90 uint32_t OnBitrateUpdated(uint32_t bitrate_bps, |
91 uint8_t fraction_loss, | 91 uint8_t fraction_loss, |
92 int64_t rtt) override; | 92 int64_t rtt) override; |
93 | 93 |
94 protected: | 94 protected: |
95 // Implements webrtc::VCMProtectionCallback. | 95 // Implements webrtc::VCMProtectionCallback. |
96 int ProtectionRequest(const FecProtectionParams* delta_params, | 96 int ProtectionRequest(const FecProtectionParams* delta_params, |
97 const FecProtectionParams* key_params, | 97 const FecProtectionParams* key_params, |
98 uint32_t* sent_video_rate_bps, | 98 uint32_t* sent_video_rate_bps, |
99 uint32_t* sent_nack_rate_bps, | 99 uint32_t* sent_nack_rate_bps, |
100 uint32_t* sent_fec_rate_bps) override; | 100 uint32_t* sent_fec_rate_bps) override; |
101 | 101 |
102 private: | 102 private: |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_; | 163 const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_; |
164 // RtpRtcp modules, declared here as they use other members on construction. | 164 // RtpRtcp modules, declared here as they use other members on construction. |
165 const std::vector<RtpRtcp*> rtp_rtcp_modules_; | 165 const std::vector<RtpRtcp*> rtp_rtcp_modules_; |
166 PayloadRouter payload_router_; | 166 PayloadRouter payload_router_; |
167 VideoCaptureInput input_; | 167 VideoCaptureInput input_; |
168 }; | 168 }; |
169 } // namespace internal | 169 } // namespace internal |
170 } // namespace webrtc | 170 } // namespace webrtc |
171 | 171 |
172 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ | 172 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ |
OLD | NEW |