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

Unified Diff: content/renderer/media/media_stream_dependency_factory.cc

Issue 11270012: Adding audio support to the new webmediaplyer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added a lock to protect the |renderer_| Created 8 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
Index: content/renderer/media/media_stream_dependency_factory.cc
diff --git a/content/renderer/media/media_stream_dependency_factory.cc b/content/renderer/media/media_stream_dependency_factory.cc
index 29c1e024cbd839a7686b5c978019e3fe713ba24c..f8bc872b04c10f384afa842c5f44ac42fd2e8505 100644
--- a/content/renderer/media/media_stream_dependency_factory.cc
+++ b/content/renderer/media/media_stream_dependency_factory.cc
@@ -292,6 +292,11 @@ webrtc::IceCandidateInterface* MediaStreamDependencyFactory::CreateIceCandidate(
return webrtc::CreateIceCandidate(sdp_mid, sdp_mline_index, sdp);
}
+WebRtcAudioDeviceImpl*
+MediaStreamDependencyFactory::GetWebRtcAudioDevice() {
+ return audio_device_;
+}
+
void MediaStreamDependencyFactory::SetAudioDeviceSessionId(int session_id) {
audio_device_->SetSessionId(session_id);
}

Powered by Google App Engine
This is Rietveld 408576698