Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc

Issue 2448463003: Rename {,Set}GenericFECStatus to {,Set}UlpfecConfig. (Closed)
Patch Set: Rebase. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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::SetGenericFECStatus( 792 void ModuleRtpRtcpImpl::SetUlpfecConfig(bool enabled,
793 const bool enable, 793 int red_payload_type,
794 const uint8_t payload_type_red, 794 int ulpfec_payload_type) {
795 const uint8_t payload_type_fec) { 795 rtp_sender_.SetUlpfecConfig(enabled, red_payload_type, ulpfec_payload_type);
796 rtp_sender_.SetGenericFECStatus(enable, payload_type_red, payload_type_fec);
797 }
798
799 void ModuleRtpRtcpImpl::GenericFECStatus(bool* enable,
800 uint8_t* payload_type_red,
801 uint8_t* payload_type_fec) {
802 rtp_sender_.GenericFECStatus(enable, payload_type_red, payload_type_fec);
803 } 796 }
804 797
805 int32_t ModuleRtpRtcpImpl::SetFecParameters( 798 int32_t ModuleRtpRtcpImpl::SetFecParameters(
806 const FecProtectionParams* delta_params, 799 const FecProtectionParams* delta_params,
807 const FecProtectionParams* key_params) { 800 const FecProtectionParams* key_params) {
808 return rtp_sender_.SetFecParameters(delta_params, key_params); 801 return rtp_sender_.SetFecParameters(delta_params, key_params);
809 } 802 }
810 803
811 void ModuleRtpRtcpImpl::SetRemoteSSRC(const uint32_t ssrc) { 804 void ModuleRtpRtcpImpl::SetRemoteSSRC(const uint32_t ssrc) {
812 // Inform about the incoming SSRC. 805 // Inform about the incoming SSRC.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( 926 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback(
934 StreamDataCountersCallback* callback) { 927 StreamDataCountersCallback* callback) {
935 rtp_sender_.RegisterRtpStatisticsCallback(callback); 928 rtp_sender_.RegisterRtpStatisticsCallback(callback);
936 } 929 }
937 930
938 StreamDataCountersCallback* 931 StreamDataCountersCallback*
939 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { 932 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const {
940 return rtp_sender_.GetRtpStatisticsCallback(); 933 return rtp_sender_.GetRtpStatisticsCallback();
941 } 934 }
942 } // namespace webrtc 935 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698