Merge methods for configuring NACK/FEC/hybrid.
BUG=webrtc:1695 R=stefan@webrtc.org Review URL: https://codereview.webrtc.org/1226143013 Cr-Commit-Position: refs/heads/master@{#9580}
This commit is contained in:
@ -834,20 +834,17 @@ int32_t ModuleRtpRtcpImpl::SendRTCPSliceLossIndication(
|
||||
GetFeedbackState(), kRtcpSli, 0, 0, false, picture_id);
|
||||
}
|
||||
|
||||
int32_t ModuleRtpRtcpImpl::SetGenericFECStatus(
|
||||
void ModuleRtpRtcpImpl::SetGenericFECStatus(
|
||||
const bool enable,
|
||||
const uint8_t payload_type_red,
|
||||
const uint8_t payload_type_fec) {
|
||||
return rtp_sender_.SetGenericFECStatus(enable,
|
||||
payload_type_red,
|
||||
payload_type_fec);
|
||||
rtp_sender_.SetGenericFECStatus(enable, payload_type_red, payload_type_fec);
|
||||
}
|
||||
|
||||
int32_t ModuleRtpRtcpImpl::GenericFECStatus(
|
||||
bool& enable,
|
||||
uint8_t& payload_type_red,
|
||||
uint8_t& payload_type_fec) {
|
||||
return rtp_sender_.GenericFECStatus(&enable, &payload_type_red,
|
||||
void ModuleRtpRtcpImpl::GenericFECStatus(bool& enable,
|
||||
uint8_t& payload_type_red,
|
||||
uint8_t& payload_type_fec) {
|
||||
rtp_sender_.GenericFECStatus(&enable, &payload_type_red,
|
||||
&payload_type_fec);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user