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

Side by Side Diff: content/renderer/media/media_stream_dependency_factory.h

Issue 11369171: Add chromium support for MediaStreamAudioDestinationNode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/threading/thread.h" 12 #include "base/threading/thread.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "content/renderer/media/media_stream_extra_data.h" 14 #include "content/renderer/media/media_stream_extra_data.h"
15 #include "content/renderer/media/webaudio_capturer_source.h"
15 #include "content/renderer/p2p/socket_dispatcher.h" 16 #include "content/renderer/p2p/socket_dispatcher.h"
16 #include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h " 17 #include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h "
17 #include "third_party/libjingle/source/talk/app/webrtc/videosourceinterface.h" 18 #include "third_party/libjingle/source/talk/app/webrtc/videosourceinterface.h"
18 19
19 namespace base { 20 namespace base {
20 class WaitableEvent; 21 class WaitableEvent;
21 } 22 }
22 23
23 namespace talk_base { 24 namespace talk_base {
24 class NetworkManager; 25 class NetworkManager;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 scoped_refptr<VideoCaptureImplManager> vc_manager_; 171 scoped_refptr<VideoCaptureImplManager> vc_manager_;
171 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; 172 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_;
172 scoped_refptr<WebRtcAudioDeviceImpl> audio_device_; 173 scoped_refptr<WebRtcAudioDeviceImpl> audio_device_;
173 174
174 // PeerConnection threads. signaling_thread_ is created from the 175 // PeerConnection threads. signaling_thread_ is created from the
175 // "current" chrome thread. 176 // "current" chrome thread.
176 talk_base::Thread* signaling_thread_; 177 talk_base::Thread* signaling_thread_;
177 talk_base::Thread* worker_thread_; 178 talk_base::Thread* worker_thread_;
178 base::Thread chrome_worker_thread_; 179 base::Thread chrome_worker_thread_;
179 180
181 // Handles audio from MediaStreamAudioDestinationNode.
182 scoped_refptr<WebAudioCapturerSource> webaudio_capturer_source_;
183
180 DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory); 184 DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory);
181 }; 185 };
182 186
183 } // namespace content 187 } // namespace content
184 188
185 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 189 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698