Index: webrtc/modules/video_coding/main/source/video_sender.cc |
diff --git a/webrtc/modules/video_coding/main/source/video_sender.cc b/webrtc/modules/video_coding/main/source/video_sender.cc |
index 1be2f06803754fdecda72d02ddb8a632fd24eae7..8694f5c84efcfc8457100de2bb8857120d2e11d1 100644 |
--- a/webrtc/modules/video_coding/main/source/video_sender.cc |
+++ b/webrtc/modules/video_coding/main/source/video_sender.cc |
@@ -311,10 +311,6 @@ void VideoSender::SetVideoProtection(VCMVideoProtection videoProtection) { |
case kProtectionFEC: |
_mediaOpt.SetProtectionMethod(media_optimization::kFec); |
break; |
- case kProtectionKeyOnLoss: |
- case kProtectionKeyOnKeyLoss: |
- // Ignore receiver modes. |
- return; |
} |
} |
// Add one raw video frame to the encoder, blocking. |