| 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 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 const RTPExtensionType type, | 610 const RTPExtensionType type, |
| 611 const uint8_t id) { | 611 const uint8_t id) { |
| 612 return rtp_sender_.RegisterRtpHeaderExtension(type, id); | 612 return rtp_sender_.RegisterRtpHeaderExtension(type, id); |
| 613 } | 613 } |
| 614 | 614 |
| 615 int32_t ModuleRtpRtcpImpl::DeregisterSendRtpHeaderExtension( | 615 int32_t ModuleRtpRtcpImpl::DeregisterSendRtpHeaderExtension( |
| 616 const RTPExtensionType type) { | 616 const RTPExtensionType type) { |
| 617 return rtp_sender_.DeregisterRtpHeaderExtension(type); | 617 return rtp_sender_.DeregisterRtpHeaderExtension(type); |
| 618 } | 618 } |
| 619 | 619 |
| 620 bool ModuleRtpRtcpImpl::HasBweExtensions() const { |
| 621 return rtp_sender_.IsRtpHeaderExtensionRegistered( |
| 622 kRtpExtensionTransportSequenceNumber) || |
| 623 rtp_sender_.IsRtpHeaderExtensionRegistered( |
| 624 kRtpExtensionAbsoluteSendTime) || |
| 625 rtp_sender_.IsRtpHeaderExtensionRegistered( |
| 626 kRtpExtensionTransmissionTimeOffset); |
| 627 } |
| 628 |
| 620 // (TMMBR) Temporary Max Media Bit Rate. | 629 // (TMMBR) Temporary Max Media Bit Rate. |
| 621 bool ModuleRtpRtcpImpl::TMMBR() const { | 630 bool ModuleRtpRtcpImpl::TMMBR() const { |
| 622 return rtcp_sender_.TMMBR(); | 631 return rtcp_sender_.TMMBR(); |
| 623 } | 632 } |
| 624 | 633 |
| 625 void ModuleRtpRtcpImpl::SetTMMBRStatus(const bool enable) { | 634 void ModuleRtpRtcpImpl::SetTMMBRStatus(const bool enable) { |
| 626 rtcp_sender_.SetTMMBRStatus(enable); | 635 rtcp_sender_.SetTMMBRStatus(enable); |
| 627 } | 636 } |
| 628 | 637 |
| 629 void ModuleRtpRtcpImpl::SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) { | 638 void ModuleRtpRtcpImpl::SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) { |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 905 StreamDataCountersCallback* | 914 StreamDataCountersCallback* |
| 906 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { | 915 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { |
| 907 return rtp_sender_.GetRtpStatisticsCallback(); | 916 return rtp_sender_.GetRtpStatisticsCallback(); |
| 908 } | 917 } |
| 909 | 918 |
| 910 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( | 919 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( |
| 911 const BitrateAllocation& bitrate) { | 920 const BitrateAllocation& bitrate) { |
| 912 rtcp_sender_.SetVideoBitrateAllocation(bitrate); | 921 rtcp_sender_.SetVideoBitrateAllocation(bitrate); |
| 913 } | 922 } |
| 914 } // namespace webrtc | 923 } // namespace webrtc |
| OLD | NEW |