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

Unified Diff: talk/app/webrtc/mediacontroller.cc

Issue 1403363003: Move VoiceEngineObserver into AudioSendStream so that we detect typing noises and return properly i… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: missing file Created 5 years, 2 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 | « no previous file | talk/media/base/fakemediaengine.h » ('j') | talk/media/base/mediaengine.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/mediacontroller.cc
diff --git a/talk/app/webrtc/mediacontroller.cc b/talk/app/webrtc/mediacontroller.cc
index f7d85116b19c6ff83bdc9c474777e5739f7e6a13..ecd54e8b05b46d25ea4b30a58c983c7c0ea8bcf8 100644
--- a/talk/app/webrtc/mediacontroller.cc
+++ b/talk/app/webrtc/mediacontroller.cc
@@ -47,7 +47,7 @@ class MediaController : public webrtc::MediaControllerInterface,
RTC_DCHECK(nullptr != worker_thread);
worker_thread_->Invoke<void>(
rtc::Bind(&MediaController::Construct_w, this,
- channel_manager_->media_engine()->GetVoE()));
+ channel_manager_->media_engine()->GetAudioState()));
tommi 2015/11/02 13:46:53 Since we're passing pointers between threads, we c
the sun 2015/11/03 12:41:07 Well, given how things were being configured, the
}
~MediaController() override {
worker_thread_->Invoke<void>(
@@ -64,10 +64,10 @@ class MediaController : public webrtc::MediaControllerInterface,
}
private:
- void Construct_w(webrtc::VoiceEngine* voice_engine) {
+ void Construct_w(rtc::linked_ptr<webrtc::AudioState> audio_state) {
RTC_DCHECK(worker_thread_->IsCurrent());
webrtc::Call::Config config;
- config.voice_engine = voice_engine;
+ config.audio_state = audio_state;
config.bitrate_config.min_bitrate_bps = kMinBandwidthBps;
config.bitrate_config.start_bitrate_bps = kStartBandwidthBps;
config.bitrate_config.max_bitrate_bps = kMaxBandwidthBps;
« no previous file with comments | « no previous file | talk/media/base/fakemediaengine.h » ('j') | talk/media/base/mediaengine.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698