| 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 720ecb063d737ddcbdc072dc699a4b93dca468e5..c89f274a6c099d41d67a4b1a83acfbfd81892881 100644
|
| --- a/content/renderer/media/media_stream_dependency_factory.h
|
| +++ b/content/renderer/media/media_stream_dependency_factory.h
|
| @@ -42,6 +42,7 @@ namespace content {
|
|
|
| class IpcNetworkManager;
|
| class IpcPacketSocketFactory;
|
| +class RTCMediaConstraints;
|
| class VideoCaptureImplManager;
|
| class WebRtcAudioCapturer;
|
| class WebRtcAudioDeviceImpl;
|
| @@ -161,14 +162,19 @@ class CONTENT_EXPORT MediaStreamDependencyFactory
|
| // specific for a WebAudio source. The created WebAudioCapturerSource
|
| // instance will function as audio source instead of the default
|
| // WebRtcAudioCapturer.
|
| + // The |constraints| will be modified to include the default, mandatory
|
| + // WebAudio constraints.
|
| virtual scoped_refptr<WebRtcAudioCapturer> CreateWebAudioSource(
|
| - WebKit::WebMediaStreamSource* source);
|
| + WebKit::WebMediaStreamSource* source,
|
| + RTCMediaConstraints* constraints);
|
|
|
| // Asks the PeerConnection factory to create a Local AudioTrack object.
|
| virtual scoped_refptr<webrtc::AudioTrackInterface>
|
| - CreateLocalAudioTrack(const std::string& id,
|
| - const scoped_refptr<WebRtcAudioCapturer>& capturer,
|
| - webrtc::AudioSourceInterface* source);
|
| + CreateLocalAudioTrack(
|
| + const std::string& id,
|
| + const scoped_refptr<WebRtcAudioCapturer>& capturer,
|
| + webrtc::AudioSourceInterface* source,
|
| + const webrtc::MediaConstraintsInterface* constraints);
|
|
|
| // Asks the PeerConnection factory to create a Local VideoTrack object.
|
| virtual scoped_refptr<webrtc::VideoTrackInterface>
|
|
|