| 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::SetGenericFECStatus( |  792 void ModuleRtpRtcpImpl::SetUlpfecConfig(bool ulpfec_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(ulpfec_enabled, red_payload_type, | 
|  796   rtp_sender_.SetGenericFECStatus(enable, payload_type_red, payload_type_fec); |  796                               ulpfec_payload_type); | 
|  797 } |  797 } | 
|  798  |  798  | 
|  799 void ModuleRtpRtcpImpl::GenericFECStatus(bool* enable, |  799 void ModuleRtpRtcpImpl::UlpfecConfig(bool* ulpfec_enabled, | 
|  800                                          uint8_t* payload_type_red, |  800                                      int* red_payload_type, | 
|  801                                          uint8_t* payload_type_fec) { |  801                                      int* ulpfec_payload_type) { | 
|  802   rtp_sender_.GenericFECStatus(enable, payload_type_red, payload_type_fec); |  802   rtp_sender_.UlpfecConfig(ulpfec_enabled, red_payload_type, | 
 |  803                            ulpfec_payload_type); | 
|  803 } |  804 } | 
|  804  |  805  | 
|  805 int32_t ModuleRtpRtcpImpl::SetFecParameters( |  806 int32_t ModuleRtpRtcpImpl::SetFecParameters( | 
|  806     const FecProtectionParams* delta_params, |  807     const FecProtectionParams* delta_params, | 
|  807     const FecProtectionParams* key_params) { |  808     const FecProtectionParams* key_params) { | 
|  808   return rtp_sender_.SetFecParameters(delta_params, key_params); |  809   return rtp_sender_.SetFecParameters(delta_params, key_params); | 
|  809 } |  810 } | 
|  810  |  811  | 
|  811 void ModuleRtpRtcpImpl::SetRemoteSSRC(const uint32_t ssrc) { |  812 void ModuleRtpRtcpImpl::SetRemoteSSRC(const uint32_t ssrc) { | 
|  812   // Inform about the incoming SSRC. |  813   // Inform about the incoming SSRC. | 
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  933 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( |  934 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( | 
|  934     StreamDataCountersCallback* callback) { |  935     StreamDataCountersCallback* callback) { | 
|  935   rtp_sender_.RegisterRtpStatisticsCallback(callback); |  936   rtp_sender_.RegisterRtpStatisticsCallback(callback); | 
|  936 } |  937 } | 
|  937  |  938  | 
|  938 StreamDataCountersCallback* |  939 StreamDataCountersCallback* | 
|  939     ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { |  940     ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { | 
|  940   return rtp_sender_.GetRtpStatisticsCallback(); |  941   return rtp_sender_.GetRtpStatisticsCallback(); | 
|  941 } |  942 } | 
|  942 }  // namespace webrtc |  943 }  // namespace webrtc | 
| OLD | NEW |