Chromium Code Reviews| Index: webrtc/modules/rtp_rtcp/source/rtp_sender_video.h |
| diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h |
| index 96ddf4192141cfa1aedaea3d891d3c97c2de842a..c091fca05bd4298051b82680e67b4182aa3c658f 100644 |
| --- a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h |
| +++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h |
| @@ -59,13 +59,13 @@ class RTPSenderVideo { |
| void SetVideoCodecType(RtpVideoCodecTypes type); |
| // FEC |
| - void SetGenericFECStatus(bool enable, |
| - uint8_t payload_type_red, |
| - uint8_t payload_type_fec); |
| + void SetUlpfecConfig(bool ulpfec_enabled, |
| + int red_payload_type, |
| + int ulpfec_payload_type); |
| - void GenericFECStatus(bool* enable, |
| - uint8_t* payload_type_red, |
| - uint8_t* payload_type_fec) const; |
| + void UlpfecConfig(bool* ulpfec_enabled, |
| + int* red_payload_type, |
| + int* ulpfec_payload_type) const; |
| void SetFecParameters(const FecProtectionParams* delta_params, |
| const FecProtectionParams* key_params); |
| @@ -95,8 +95,8 @@ class RTPSenderVideo { |
| // FEC |
| bool fec_enabled_ GUARDED_BY(crit_) = false; |
|
danilchap
2016/10/26 12:59:14
may be rename this variable to ulpfec_enabled_
brandtr
2016/10/26 13:57:04
This is happening in upcoming CL.
|
| - int8_t red_payload_type_ GUARDED_BY(crit_) = 0; |
| - int8_t fec_payload_type_ GUARDED_BY(crit_) = 0; |
| + int red_payload_type_ GUARDED_BY(crit_) = -1; |
| + int fec_payload_type_ GUARDED_BY(crit_) = -1; |
| FecProtectionParams delta_fec_params_ GUARDED_BY(crit_) = FecProtectionParams{ |
| 0, 1, kFecMaskRandom}; |
| FecProtectionParams key_fec_params_ GUARDED_BY(crit_) = FecProtectionParams{ |