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

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

Issue 201583003: Implement a source for remote video tracks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 8 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"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 webrtc::SdpParseError* error); 129 webrtc::SdpParseError* error);
130 130
131 // Creates a libjingle representation of an ice candidate. 131 // Creates a libjingle representation of an ice candidate.
132 virtual webrtc::IceCandidateInterface* CreateIceCandidate( 132 virtual webrtc::IceCandidateInterface* CreateIceCandidate(
133 const std::string& sdp_mid, 133 const std::string& sdp_mid,
134 int sdp_mline_index, 134 int sdp_mline_index,
135 const std::string& sdp); 135 const std::string& sdp);
136 136
137 WebRtcAudioDeviceImpl* GetWebRtcAudioDevice(); 137 WebRtcAudioDeviceImpl* GetWebRtcAudioDevice();
138 138
139 static void AddNativeTrackToBlinkTrack( 139 static void AddNativeAudioTrackToBlinkTrack(
140 webrtc::MediaStreamTrackInterface* native_track, 140 webrtc::MediaStreamTrackInterface* native_track,
141 const blink::WebMediaStreamTrack& webkit_track, 141 const blink::WebMediaStreamTrack& webkit_track,
142 bool is_local_track); 142 bool is_local_track);
143 143
144 protected: 144 protected:
145 // Asks the PeerConnection factory to create a Local MediaStream object. 145 // Asks the PeerConnection factory to create a Local MediaStream object.
146 virtual scoped_refptr<webrtc::MediaStreamInterface> 146 virtual scoped_refptr<webrtc::MediaStreamInterface>
147 CreateLocalMediaStream(const std::string& label); 147 CreateLocalMediaStream(const std::string& label);
148 148
149 // Asks the PeerConnection factory to create a Local Audio Source. 149 // Asks the PeerConnection factory to create a Local Audio Source.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 base::Thread chrome_worker_thread_; 220 base::Thread chrome_worker_thread_;
221 221
222 base::PlatformFile aec_dump_file_; 222 base::PlatformFile aec_dump_file_;
223 223
224 DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory); 224 DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory);
225 }; 225 };
226 226
227 } // namespace content 227 } // namespace content
228 228
229 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 229 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_center.cc ('k') | content/renderer/media/media_stream_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698