diff --git a/src/media/video/video_input.cpp b/src/media/video/video_input.cpp index dfccb4a44de6222b4decf4172825df357f389ec8..90404cbe26a5563c31eb7b0dbe294a1d23ec6533 100644 --- a/src/media/video/video_input.cpp +++ b/src/media/video/video_input.cpp @@ -387,13 +387,6 @@ VideoInput::deleteDecoder() decoder_.reset(); } -void -VideoInput::stopInput() -{ - clearOptions(); - loop_.stop(); -} - void VideoInput::clearOptions() { diff --git a/src/media/video/video_input.h b/src/media/video/video_input.h index ade7302a11b7d407c58944d9daf1fa4418f2119c..945631adc4a544e46138d8164169b856212519e8 100644 --- a/src/media/video/video_input.h +++ b/src/media/video/video_input.h @@ -83,17 +83,6 @@ public: void setRecorderCallback(const std::function<void(const MediaStream& ms)>& cb); -#if VIDEO_CLIENT_INPUT - /* - * these functions are used to pass buffer from/to the daemon - * on the Android and UWP builds - */ - void* obtainFrame(int length); - void releaseFrame(void* frame); -#else - void stopInput(); -#endif - void setSuccessfulSetupCb(const std::function<void(MediaType, bool)>& cb) { onSuccessfulSetup_ = cb; diff --git a/src/media/video/video_mixer.cpp b/src/media/video/video_mixer.cpp index cd12fe5e9b55cc92051a414d632df8f24f370697..8ef2dbf8d7c2bf36d49c0f804f7a29142bde7532 100644 --- a/src/media/video/video_mixer.cpp +++ b/src/media/video/video_mixer.cpp @@ -142,11 +142,6 @@ VideoMixer::stopInput(const std::shared_ptr<VideoFrameActiveWriter>& input) { // Detach videoInputs from mixer input->detach(this); -#if !VIDEO_CLIENT_INPUT - // Stop old VideoInput - if (auto oldInput = std::dynamic_pointer_cast<VideoInput>(input)) - oldInput->stopInput(); -#endif } void