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

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: 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 5114a41e83fffd2baa64904f44eb17c797474aaf..86b95df8f7964994c4505d761899abd326479463 100644
--- a/content/renderer/media/media_stream_dependency_factory.h
+++ b/content/renderer/media/media_stream_dependency_factory.h
@@ -121,6 +121,16 @@ class CONTENT_EXPORT MediaStreamDependencyFactory
bool RemoveNativeMediaStreamTrack(const blink::WebMediaStream& stream,
const blink::WebMediaStreamTrack& track);
+ // Asks the PeerConnection factory to create an empty WebMediaStreamTrack.
+ blink::WebMediaStreamTrack CreateMediaStreamVideoTrack(
+ const std::string& id);
+
+ // Asks the PeerConnection factory to create a Video Source.
+ scoped_refptr<webrtc::VideoSourceInterface>
+ CreateVideoSource(
+ cricket::VideoCapturer* capturer,
+ const blink::WebMediaConstraints& 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