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

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

Issue 129923002: Implements MediaStreamVideoSource. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: per's comments and fix the build Created 6 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 side-by-side diff with in-line comments
Download patch
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 cc8cd51f38a6627f0772832d7f99737cb3849dc6..31b6f3eba3d391d1a24f9ccd4b3704d7fe4905fe 100644
--- a/content/renderer/media/media_stream_dependency_factory.h
+++ b/content/renderer/media/media_stream_dependency_factory.h
@@ -119,6 +119,12 @@ class CONTENT_EXPORT MediaStreamDependencyFactory
bool RemoveNativeMediaStreamTrack(const blink::WebMediaStream& stream,
const blink::WebMediaStreamTrack& track);
+ // Asks the PeerConnection factory to create a Video Source.
+ virtual scoped_refptr<webrtc::VideoSourceInterface>
+ CreateVideoSource(
+ cricket::VideoCapturer* capturer,
+ const webrtc::MediaConstraintsInterface* constraints);
+
// Asks the libjingle PeerConnection factory to create a libjingle
// PeerConnection object.
// The PeerConnection object is owned by PeerConnectionHandler.

Powered by Google App Engine
This is Rietveld 408576698