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

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: rebased and fixed some comments in rtc_audio_renderer.h 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 6c96146296b9315880b1284a67e522c711d7baa2..388f2a7c3aeef5673e3cb91ce1017f43b3a3c8a9 100644
--- a/content/renderer/media/media_stream_dependency_factory.cc
+++ b/content/renderer/media/media_stream_dependency_factory.cc
@@ -409,6 +409,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