Delete method VideoCodingModule::SetVideoProtection

Bug: webrtc:8064
Change-Id: I2a6ed11bf1415e4e0d199733f9d9a659afec0fe8
Reviewed-on: https://webrtc-review.googlesource.com/c/116689
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26194}
This commit is contained in:
Niels Möller
2019-01-09 16:30:39 +01:00
committed by Commit Bot
parent f7d636644f
commit 2874672671
2 changed files with 0 additions and 18 deletions

View File

@ -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
*/

View File

@ -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 {