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

Unified Diff: content/renderer/media/media_stream_dependency_factory.h

Issue 14312015: Effects Pepper Plugin and MediaStream Glue. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/media/media_stream_dependency_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_dependency_factory.h
===================================================================
--- content/renderer/media/media_stream_dependency_factory.h (revision 198365)
+++ content/renderer/media/media_stream_dependency_factory.h (working copy)
@@ -95,6 +95,12 @@
bool AddNativeMediaStreamTrack(const WebKit::WebMediaStream& stream,
const WebKit::WebMediaStreamTrack& track);
+ // Creates and adds libjingle representation of a MediaStreamTrack to |stream|
+ // based on the desired |track_id| and |capturer|.
+ bool AddNativeVideoMediaTrack(const std::string& track_id,
+ WebKit::WebMediaStream* stream,
+ cricket::VideoCapturer* capturer);
+
bool RemoveNativeMediaStreamTrack(const WebKit::WebMediaStream& stream,
const WebKit::WebMediaStreamTrack& track);
@@ -167,6 +173,12 @@
CreateLocalVideoTrack(const std::string& id,
webrtc::VideoSourceInterface* source);
+ // Asks the PeerConnection factory to create a Local VideoTrack object with
+ // the video source using |capturer|.
+ virtual scoped_refptr<webrtc::VideoTrackInterface>
+ CreateLocalVideoTrack(const std::string& id,
+ cricket::VideoCapturer* capturer);
+
virtual bool EnsurePeerConnectionFactory();
virtual bool PeerConnectionFactoryCreated();
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/media/media_stream_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698