diff --git a/modules/video_coding/include/video_coding.h b/modules/video_coding/include/video_coding.h index 1eb60d4bb2..cf871a0786 100644 --- a/modules/video_coding/include/video_coding.h +++ b/modules/video_coding/include/video_coding.h @@ -47,18 +47,6 @@ class VideoCodingModule : public Module { // DEPRECATED. static VideoCodingModule* Create(Clock* clock); - // Enable or disable a video protection method. - // - // Input: - // - videoProtection : The method to enable or disable. - // - enable : True if the method should be enabled, false if - // it should be disabled. - // - // Return value : VCM_OK, on success. - // < 0, on error. - virtual int32_t SetVideoProtection(VCMVideoProtection videoProtection, - bool enable) = 0; - /* * Receiver */ diff --git a/modules/video_coding/video_coding_impl.cc b/modules/video_coding/video_coding_impl.cc index 66d1a2aa1b..7600915b72 100644 --- a/modules/video_coding/video_coding_impl.cc +++ b/modules/video_coding/video_coding_impl.cc @@ -60,12 +60,6 @@ class VideoCodingModuleImpl : public VideoCodingModule { void Process() override { receiver_.Process(); } - int32_t SetVideoProtection(VCMVideoProtection videoProtection, - bool enable) override { - // TODO(pbos): Remove enable from receive-side protection modes as well. - return receiver_.SetVideoProtection(videoProtection, enable); - } - int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, int32_t numberOfCores, bool requireKeyFrame) override {