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

Side by Side Diff: content/renderer/media/webrtc/peer_connection_dependency_factory.h

Issue 1995553002: Remove WebRtc audio source references for local audio tracks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert unintentional change Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file.h" 10 #include "base/files/file.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // Starts recording an RTC event log. 117 // Starts recording an RTC event log.
118 virtual void StopRtcEventLog(); 118 virtual void StopRtcEventLog();
119 119
120 WebRtcAudioDeviceImpl* GetWebRtcAudioDevice(); 120 WebRtcAudioDeviceImpl* GetWebRtcAudioDevice();
121 121
122 void EnsureInitialized(); 122 void EnsureInitialized();
123 scoped_refptr<base::SingleThreadTaskRunner> GetWebRtcWorkerThread() const; 123 scoped_refptr<base::SingleThreadTaskRunner> GetWebRtcWorkerThread() const;
124 virtual scoped_refptr<base::SingleThreadTaskRunner> GetWebRtcSignalingThread() 124 virtual scoped_refptr<base::SingleThreadTaskRunner> GetWebRtcSignalingThread()
125 const; 125 const;
126 126
127 // Called by ProcessedLocalAudioSource to have the PeerConnection factory
128 // create the corresponding WebRtc-internal instance.
129 virtual scoped_refptr<webrtc::AudioSourceInterface> CreateLocalAudioSource(
130 const cricket::AudioOptions& options);
131
132 protected: 127 protected:
133 // Asks the PeerConnection factory to create a Local VideoTrack object with 128 // Asks the PeerConnection factory to create a Local VideoTrack object with
134 // the video source using |capturer|. 129 // the video source using |capturer|.
135 virtual scoped_refptr<webrtc::VideoTrackInterface> 130 virtual scoped_refptr<webrtc::VideoTrackInterface>
136 CreateLocalVideoTrack(const std::string& id, 131 CreateLocalVideoTrack(const std::string& id,
137 cricket::VideoCapturer* capturer); 132 cricket::VideoCapturer* capturer);
138 133
139 virtual const scoped_refptr<webrtc::PeerConnectionFactoryInterface>& 134 virtual const scoped_refptr<webrtc::PeerConnectionFactoryInterface>&
140 GetPcFactory(); 135 GetPcFactory();
141 virtual bool PeerConnectionFactoryCreated(); 136 virtual bool PeerConnectionFactoryCreated();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 rtc::Thread* worker_thread_; 182 rtc::Thread* worker_thread_;
188 base::Thread chrome_signaling_thread_; 183 base::Thread chrome_signaling_thread_;
189 base::Thread chrome_worker_thread_; 184 base::Thread chrome_worker_thread_;
190 185
191 DISALLOW_COPY_AND_ASSIGN(PeerConnectionDependencyFactory); 186 DISALLOW_COPY_AND_ASSIGN(PeerConnectionDependencyFactory);
192 }; 187 };
193 188
194 } // namespace content 189 } // namespace content
195 190
196 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 191 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698