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

Unified Diff: webrtc/pc/channelmanager.cc

Issue 1733673002: Removed unused cricket::VideoCapturer methods (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed thread checker for android. SetCaptureFormat is called on the thread where the capturer is cr… Created 4 years, 10 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
« no previous file with comments | « webrtc/pc/channelmanager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/channelmanager.cc
diff --git a/webrtc/pc/channelmanager.cc b/webrtc/pc/channelmanager.cc
index fe0564bbc2b230257deefe4967ec6fe175816ffc..92be70ca18346561f8909d4bb8e8d2c4034f3b39 100644
--- a/webrtc/pc/channelmanager.cc
+++ b/webrtc/pc/channelmanager.cc
@@ -455,16 +455,6 @@ bool ChannelManager::StartVideoCapture(
capture_manager_.get(), capturer, video_format));
}
-bool ChannelManager::MuteToBlackThenPause(
- VideoCapturer* video_capturer, bool muted) {
- if (!initialized_) {
- return false;
- }
- worker_thread_->Invoke<void>(
- Bind(&VideoCapturer::MuteToBlackThenPause, video_capturer, muted));
- return true;
-}
-
bool ChannelManager::StopVideoCapture(
VideoCapturer* capturer, const VideoFormat& video_format) {
return initialized_ && worker_thread_->Invoke<bool>(
@@ -472,16 +462,6 @@ bool ChannelManager::StopVideoCapture(
capture_manager_.get(), capturer, video_format));
}
-bool ChannelManager::RestartVideoCapture(
- VideoCapturer* video_capturer,
- const VideoFormat& previous_format,
- const VideoFormat& desired_format,
- CaptureManager::RestartOptions options) {
- return initialized_ && worker_thread_->Invoke<bool>(
- Bind(&CaptureManager::RestartVideoCapture, capture_manager_.get(),
- video_capturer, previous_format, desired_format, options));
-}
-
void ChannelManager::AddVideoSink(
VideoCapturer* capturer, rtc::VideoSinkInterface<VideoFrame>* sink) {
if (initialized_)
« no previous file with comments | « webrtc/pc/channelmanager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698