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:
@ -47,18 +47,6 @@ class VideoCodingModule : public Module {
|
|||||||
// DEPRECATED.
|
// DEPRECATED.
|
||||||
static VideoCodingModule* Create(Clock* clock);
|
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
|
* Receiver
|
||||||
*/
|
*/
|
||||||
|
@ -60,12 +60,6 @@ class VideoCodingModuleImpl : public VideoCodingModule {
|
|||||||
|
|
||||||
void Process() override { receiver_.Process(); }
|
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 RegisterReceiveCodec(const VideoCodec* receiveCodec,
|
||||||
int32_t numberOfCores,
|
int32_t numberOfCores,
|
||||||
bool requireKeyFrame) override {
|
bool requireKeyFrame) override {
|
||||||
|
Reference in New Issue
Block a user