Index: talk/app/webrtc/test/peerconnectiontestwrapper.cc |
diff --git a/talk/app/webrtc/test/peerconnectiontestwrapper.cc b/talk/app/webrtc/test/peerconnectiontestwrapper.cc |
index 91d4f508f77b9bbe191079b6cb257069e3bc332d..e4f63214b9552c8ad520a6fcb4b292d4b311d392 100644 |
--- a/talk/app/webrtc/test/peerconnectiontestwrapper.cc |
+++ b/talk/app/webrtc/test/peerconnectiontestwrapper.cc |
@@ -75,8 +75,13 @@ bool PeerConnectionTestWrapper::CreatePc( |
return false; |
} |
+ media_input_thread_.reset(new rtc::Thread()); |
+ if (!media_input_thread_->Start()) { |
+ return false; |
+ } |
+ |
fake_audio_capture_module_ = FakeAudioCaptureModule::Create( |
- rtc::Thread::Current()); |
+ media_input_thread_.get()); |
pthatcher1
2015/07/23 17:13:18
I'd call it audio_capture_thread_ until we do some
|
if (fake_audio_capture_module_ == NULL) { |
return false; |
} |