| 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 60fbb68caea65628066271bdc5c13419203ae41a..62c728e6c1f2baaed4389cd99adb2bf49582e65e 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h
|
| @@ -58,14 +58,9 @@ class RTPSenderVideo {
|
|
|
| void SetVideoCodecType(RtpVideoCodecTypes type);
|
|
|
| - // FEC
|
| - void SetUlpfecConfig(bool enabled,
|
| - int red_payload_type,
|
| - int ulpfec_payload_type);
|
| -
|
| - void UlpfecConfig(bool* enabled,
|
| - int* red_payload_type,
|
| - int* ulpfec_payload_type) const;
|
| + // ULPFEC.
|
| + void SetUlpfecConfig(int red_payload_type, int ulpfec_payload_type);
|
| + void UlpfecConfig(int* red_payload_type, int* ulpfec_payload_type) const;
|
|
|
| void SetFecParameters(const FecProtectionParams* delta_params,
|
| const FecProtectionParams* key_params);
|
| @@ -84,6 +79,9 @@ class RTPSenderVideo {
|
| StorageType media_packet_storage,
|
| bool protect);
|
|
|
| + bool RedEnabled() const;
|
| + bool UlpfecEnabled() const;
|
| +
|
| RTPSender* const rtp_sender_;
|
| Clock* const clock_;
|
|
|
| @@ -93,10 +91,9 @@ class RTPSenderVideo {
|
| RtpVideoCodecTypes video_type_ = kRtpVideoGeneric;
|
| int32_t retransmission_settings_ GUARDED_BY(crit_) = kRetransmitBaseLayer;
|
|
|
| - // FEC
|
| - bool fec_enabled_ GUARDED_BY(crit_) = false;
|
| + // RED/ULPFEC.
|
| int red_payload_type_ GUARDED_BY(crit_) = -1;
|
| - int fec_payload_type_ GUARDED_BY(crit_) = -1;
|
| + int ulpfec_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{
|
|
|