Index: webrtc/video/video_send_stream.h |
diff --git a/webrtc/video/video_send_stream.h b/webrtc/video/video_send_stream.h |
index 51d8a4600b5571905ccc885db0bb87e686f0c672..df3e3c4c638d99408d87075bdf2ffba4c05b9575 100644 |
--- a/webrtc/video/video_send_stream.h |
+++ b/webrtc/video/video_send_stream.h |
@@ -19,6 +19,7 @@ |
#include "webrtc/base/criticalsection.h" |
#include "webrtc/call.h" |
#include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
+#include "webrtc/modules/video_coding/protection_bitrate_calculator.h" |
#include "webrtc/video/encoded_frame_callback_adapter.h" |
#include "webrtc/video/encoder_state_feedback.h" |
#include "webrtc/video/payload_router.h" |
@@ -91,6 +92,7 @@ class VideoSendStream : public webrtc::VideoSendStream, |
uint8_t fraction_loss, |
int64_t rtt) override; |
+ protected: |
// Implements webrtc::VCMProtectionCallback. |
int ProtectionRequest(const FecProtectionParams* delta_params, |
const FecProtectionParams* key_params, |
@@ -143,6 +145,8 @@ class VideoSendStream : public webrtc::VideoSendStream, |
OveruseFrameDetector overuse_detector_; |
ViEEncoder vie_encoder_; |
EncoderStateFeedback encoder_feedback_; |
+ ProtectionBitrateCalculator protection_bitrate_calculator_; |
+ |
vcm::VideoSender* const video_sender_; |
const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_; |