OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 StreamDataCountersCallback* callback) override; | 306 StreamDataCountersCallback* callback) override; |
307 StreamDataCountersCallback* GetSendChannelRtpStatisticsCallback() | 307 StreamDataCountersCallback* GetSendChannelRtpStatisticsCallback() |
308 const override; | 308 const override; |
309 | 309 |
310 void OnReceivedNack( | 310 void OnReceivedNack( |
311 const std::vector<uint16_t>& nack_sequence_numbers) override; | 311 const std::vector<uint16_t>& nack_sequence_numbers) override; |
312 void OnReceivedRtcpReportBlocks( | 312 void OnReceivedRtcpReportBlocks( |
313 const ReportBlockList& report_blocks) override; | 313 const ReportBlockList& report_blocks) override; |
314 void OnRequestSendReport() override; | 314 void OnRequestSendReport() override; |
315 | 315 |
| 316 void SetVideoBitrateAllocation(const BitrateAllocation& bitrate) override; |
| 317 |
316 protected: | 318 protected: |
317 bool UpdateRTCPReceiveInformationTimers(); | 319 bool UpdateRTCPReceiveInformationTimers(); |
318 | 320 |
319 RTPSender rtp_sender_; | 321 RTPSender rtp_sender_; |
320 | 322 |
321 RTCPSender rtcp_sender_; | 323 RTCPSender rtcp_sender_; |
322 RTCPReceiver rtcp_receiver_; | 324 RTCPReceiver rtcp_receiver_; |
323 | 325 |
324 Clock* clock_; | 326 Clock* clock_; |
325 | 327 |
(...skipping 30 matching lines...) Expand all Loading... |
356 PacketLossStats receive_loss_stats_; | 358 PacketLossStats receive_loss_stats_; |
357 | 359 |
358 // The processed RTT from RtcpRttStats. | 360 // The processed RTT from RtcpRttStats. |
359 rtc::CriticalSection critical_section_rtt_; | 361 rtc::CriticalSection critical_section_rtt_; |
360 int64_t rtt_ms_; | 362 int64_t rtt_ms_; |
361 }; | 363 }; |
362 | 364 |
363 } // namespace webrtc | 365 } // namespace webrtc |
364 | 366 |
365 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 367 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
OLD | NEW |