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

Unified Diff: talk/media/webrtc/webrtcvoiceengine.h

Issue 1344083004: Remove the SetLocalMonitor() API. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 3 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 | « talk/media/webrtc/fakewebrtcvoiceengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/webrtc/webrtcvoiceengine.h
diff --git a/talk/media/webrtc/webrtcvoiceengine.h b/talk/media/webrtc/webrtcvoiceengine.h
index 655d3c996f10b2bfb83b86729b07acaba45d7117..5a04fb2a4ba4846743d3f284ea47ad33f9cbc006 100644
--- a/talk/media/webrtc/webrtcvoiceengine.h
+++ b/talk/media/webrtc/webrtcvoiceengine.h
@@ -53,12 +53,6 @@ class VideoEngine;
namespace cricket {
-// WebRtcMonitorStream is used to monitor a stream coming from WebRtc.
-// For now we just dump the data.
-class WebRtcMonitorStream : public webrtc::OutStream {
- bool Write(const void* buf, size_t len) override { return true; }
-};
-
class AudioDeviceModule;
class AudioRenderer;
class VoETraceWrapper;
@@ -94,7 +88,6 @@ class WebRtcVoiceEngine
bool GetOutputVolume(int* level);
bool SetOutputVolume(int level);
int GetInputLevel();
- bool SetLocalMonitor(bool enable);
const std::vector<AudioCodec>& codecs();
bool FindCodec(const AudioCodec& codec);
@@ -190,9 +183,6 @@ class WebRtcVoiceEngine
bool FindChannelNumFromSsrc(uint32 ssrc,
MediaProcessorDirection direction,
int* channel_num);
- bool ChangeLocalMonitor(bool enable);
- bool PauseLocalMonitor();
- bool ResumeLocalMonitor();
bool UnregisterProcessorChannel(MediaProcessorDirection channel_direction,
uint32 ssrc,
@@ -221,8 +211,6 @@ class WebRtcVoiceEngine
bool is_dumping_aec_;
std::vector<AudioCodec> codecs_;
std::vector<RtpHeaderExtension> rtp_header_extensions_;
- bool desired_local_monitor_enable_;
- rtc::scoped_ptr<WebRtcMonitorStream> monitor_;
ChannelList channels_;
// channels_ can be read from WebRtc callback thread. We need a lock on that
// callback as well as the RegisterChannel/UnregisterChannel.
« no previous file with comments | « talk/media/webrtc/fakewebrtcvoiceengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698