| 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 97af73daf467946c20844925766fbae7da3a3a4c..69dfbf88a15f81b0e5de05789c5c39b861403cb4 100644
|
| --- a/content/renderer/media/media_stream_dependency_factory.h
|
| +++ b/content/renderer/media/media_stream_dependency_factory.h
|
| @@ -46,6 +46,7 @@ class IpcNetworkManager;
|
| class IpcPacketSocketFactory;
|
| class VideoCaptureImplManager;
|
| class WebRtcAudioDeviceImpl;
|
| +struct StreamDeviceInfo;
|
|
|
| // Object factory for RTC MediaStreams and RTC PeerConnections.
|
| class CONTENT_EXPORT MediaStreamDependencyFactory
|
| @@ -129,6 +130,11 @@ class CONTENT_EXPORT MediaStreamDependencyFactory
|
| 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
|
| + // source.
|
| + virtual bool InitializeAudioSource(const StreamDeviceInfo& device_info);
|
| +
|
| // Asks the PeerConnection factory to create a Local VideoTrack object.
|
| virtual scoped_refptr<webrtc::VideoTrackInterface>
|
| CreateLocalVideoTrack(const std::string& label,
|
| @@ -141,7 +147,6 @@ class CONTENT_EXPORT MediaStreamDependencyFactory
|
|
|
| virtual bool EnsurePeerConnectionFactory();
|
| virtual bool PeerConnectionFactoryCreated();
|
| - virtual void SetAudioDeviceSessionId(int session_id);
|
|
|
| private:
|
| // Creates and deletes |pc_factory_|, which in turn is used for
|
|
|