Index: webrtc/video/vie_encoder.cc |
diff --git a/webrtc/video/vie_encoder.cc b/webrtc/video/vie_encoder.cc |
index d10e8fc5cda67313556eddbcb1cfa48875020394..73b29f319e03484081c37e59448f3fde8d2ea431 100644 |
--- a/webrtc/video/vie_encoder.cc |
+++ b/webrtc/video/vie_encoder.cc |
@@ -264,18 +264,6 @@ void ViEEncoder::SendKeyFrame() { |
video_sender_.IntraFrameRequest(0); |
} |
-void ViEEncoder::SetProtectionMethod(bool nack, bool fec) { |
- // Set Video Protection for VCM. |
- VCMVideoProtection protection_mode; |
- if (fec) { |
- protection_mode = |
- nack ? webrtc::kProtectionNackFEC : kProtectionFEC; |
- } else { |
- protection_mode = nack ? kProtectionNack : kProtectionNone; |
- } |
- video_sender_.SetVideoProtection(protection_mode); |
-} |
- |
void ViEEncoder::OnSetRates(uint32_t bitrate_bps, int framerate) { |
if (stats_proxy_) |
stats_proxy_->OnSetRates(bitrate_bps, framerate); |