Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(970)

Unified Diff: webrtc/modules/video_coding/main/source/video_sender.cc

Issue 1244753002: Remove kProtectionKey* and VCMKeyRequestMode. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698