| 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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 if (stats_source) { | 605 if (stats_source) { |
| 606 loss_stats->single_packet_loss_count = | 606 loss_stats->single_packet_loss_count = |
| 607 stats_source->GetSingleLossCount(); | 607 stats_source->GetSingleLossCount(); |
| 608 loss_stats->multiple_packet_loss_event_count = | 608 loss_stats->multiple_packet_loss_event_count = |
| 609 stats_source->GetMultipleLossEventCount(); | 609 stats_source->GetMultipleLossEventCount(); |
| 610 loss_stats->multiple_packet_loss_packet_count = | 610 loss_stats->multiple_packet_loss_packet_count = |
| 611 stats_source->GetMultipleLossPacketCount(); | 611 stats_source->GetMultipleLossPacketCount(); |
| 612 } | 612 } |
| 613 } | 613 } |
| 614 | 614 |
| 615 int32_t ModuleRtpRtcpImpl::RemoteRTCPStat(RTCPSenderInfo* sender_info) { | |
| 616 return rtcp_receiver_.SenderInfoReceived(sender_info); | |
| 617 } | |
| 618 | |
| 619 // Received RTCP report. | 615 // Received RTCP report. |
| 620 int32_t ModuleRtpRtcpImpl::RemoteRTCPStat( | 616 int32_t ModuleRtpRtcpImpl::RemoteRTCPStat( |
| 621 std::vector<RTCPReportBlock>* receive_blocks) const { | 617 std::vector<RTCPReportBlock>* receive_blocks) const { |
| 622 return rtcp_receiver_.StatisticsReceived(receive_blocks); | 618 return rtcp_receiver_.StatisticsReceived(receive_blocks); |
| 623 } | 619 } |
| 624 | 620 |
| 625 // (REMB) Receiver Estimated Max Bitrate. | 621 // (REMB) Receiver Estimated Max Bitrate. |
| 626 bool ModuleRtpRtcpImpl::REMB() const { | 622 bool ModuleRtpRtcpImpl::REMB() const { |
| 627 return rtcp_sender_.REMB(); | 623 return rtcp_sender_.REMB(); |
| 628 } | 624 } |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 StreamDataCountersCallback* | 917 StreamDataCountersCallback* |
| 922 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { | 918 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { |
| 923 return rtp_sender_->GetRtpStatisticsCallback(); | 919 return rtp_sender_->GetRtpStatisticsCallback(); |
| 924 } | 920 } |
| 925 | 921 |
| 926 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( | 922 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( |
| 927 const BitrateAllocation& bitrate) { | 923 const BitrateAllocation& bitrate) { |
| 928 rtcp_sender_.SetVideoBitrateAllocation(bitrate); | 924 rtcp_sender_.SetVideoBitrateAllocation(bitrate); |
| 929 } | 925 } |
| 930 } // namespace webrtc | 926 } // namespace webrtc |
| OLD | NEW |