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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 } | 782 } |
783 return -1; | 783 return -1; |
784 } | 784 } |
785 | 785 |
786 int32_t ModuleRtpRtcpImpl::SendRTCPSliceLossIndication( | 786 int32_t ModuleRtpRtcpImpl::SendRTCPSliceLossIndication( |
787 const uint8_t picture_id) { | 787 const uint8_t picture_id) { |
788 return rtcp_sender_.SendRTCP( | 788 return rtcp_sender_.SendRTCP( |
789 GetFeedbackState(), kRtcpSli, 0, 0, false, picture_id); | 789 GetFeedbackState(), kRtcpSli, 0, 0, false, picture_id); |
790 } | 790 } |
791 | 791 |
792 void ModuleRtpRtcpImpl::SetUlpfecConfig(bool enabled, | 792 void ModuleRtpRtcpImpl::SetUlpfecConfig(int red_payload_type, |
793 int red_payload_type, | |
794 int ulpfec_payload_type) { | 793 int ulpfec_payload_type) { |
795 rtp_sender_.SetUlpfecConfig(enabled, red_payload_type, ulpfec_payload_type); | 794 rtp_sender_.SetUlpfecConfig(red_payload_type, ulpfec_payload_type); |
796 } | 795 } |
797 | 796 |
798 int32_t ModuleRtpRtcpImpl::SetFecParameters( | 797 int32_t ModuleRtpRtcpImpl::SetFecParameters( |
799 const FecProtectionParams* delta_params, | 798 const FecProtectionParams* delta_params, |
800 const FecProtectionParams* key_params) { | 799 const FecProtectionParams* key_params) { |
801 return rtp_sender_.SetFecParameters(delta_params, key_params); | 800 return rtp_sender_.SetFecParameters(delta_params, key_params); |
802 } | 801 } |
803 | 802 |
804 void ModuleRtpRtcpImpl::SetRemoteSSRC(const uint32_t ssrc) { | 803 void ModuleRtpRtcpImpl::SetRemoteSSRC(const uint32_t ssrc) { |
805 // Inform about the incoming SSRC. | 804 // Inform about the incoming SSRC. |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( | 925 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( |
927 StreamDataCountersCallback* callback) { | 926 StreamDataCountersCallback* callback) { |
928 rtp_sender_.RegisterRtpStatisticsCallback(callback); | 927 rtp_sender_.RegisterRtpStatisticsCallback(callback); |
929 } | 928 } |
930 | 929 |
931 StreamDataCountersCallback* | 930 StreamDataCountersCallback* |
932 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { | 931 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { |
933 return rtp_sender_.GetRtpStatisticsCallback(); | 932 return rtp_sender_.GetRtpStatisticsCallback(); |
934 } | 933 } |
935 } // namespace webrtc | 934 } // namespace webrtc |
OLD | NEW |