Index: content/renderer/media/media_stream_dependency_factory.h |
diff --git a/content/renderer/media/media_stream_dependency_factory.h b/content/renderer/media/media_stream_dependency_factory.h |
index 7fd7c6b3ca482ed6cf82e2be45a54bffe325fd92..e9c934095b842f913b480faecb2b65d8ce112a7e 100644 |
--- a/content/renderer/media/media_stream_dependency_factory.h |
+++ b/content/renderer/media/media_stream_dependency_factory.h |
@@ -124,11 +124,17 @@ class CONTENT_EXPORT MediaStreamDependencyFactory |
virtual scoped_refptr<webrtc::LocalMediaStreamInterface> |
CreateLocalMediaStream(const std::string& label); |
+ // Asks the PeerConnection factory to create a Local Audio Source. |
+ virtual scoped_refptr<webrtc::AudioSourceInterface> |
+ CreateLocalAudioSource( |
+ const webrtc::MediaConstraintsInterface* constraints); |
+ |
// Asks the PeerConnection factory to create a Local Video Source. |
virtual scoped_refptr<webrtc::VideoSourceInterface> |
- CreateVideoSource(int video_session_id, |
- bool is_screen_cast, |
- const webrtc::MediaConstraintsInterface* constraints); |
+ CreateLocalVideoSource( |
+ int video_session_id, |
+ bool is_screen_cast, |
+ const webrtc::MediaConstraintsInterface* constraints); |
// Initializes the source using audio parameters for the selected |
// capture device and specifies which capture device to use as capture |
@@ -141,16 +147,16 @@ class CONTENT_EXPORT MediaStreamDependencyFactory |
// WebRtcAudioCapturer. |
virtual bool CreateWebAudioSource(WebKit::WebMediaStreamSource* source); |
+ // Asks the PeerConnection factory to create a Local AudioTrack object. |
+ virtual scoped_refptr<webrtc::LocalAudioTrackInterface> |
+ CreateLocalAudioTrack(const std::string& label, |
+ webrtc::AudioSourceInterface* source); |
+ |
// Asks the PeerConnection factory to create a Local VideoTrack object. |
virtual scoped_refptr<webrtc::VideoTrackInterface> |
CreateLocalVideoTrack(const std::string& label, |
webrtc::VideoSourceInterface* source); |
- // Asks the PeerConnection factory to create a Local AudioTrack object. |
- virtual scoped_refptr<webrtc::LocalAudioTrackInterface> |
- CreateLocalAudioTrack(const std::string& label, |
- webrtc::AudioDeviceModule* audio_device); |
- |
virtual bool EnsurePeerConnectionFactory(); |
virtual bool PeerConnectionFactoryCreated(); |