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

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

Issue 13496009: Hookup the MediaStream glue for Adding and Removing tracks to an existing MediaStream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add workaround when there are no microphones on bots. Created 7 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 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 27e4f4a5edcf5490e6e6accf966b7ad47b67bd32..2bdd8ffaba98220a385e0e224115c847b5624c93 100644
--- a/content/renderer/media/media_stream_dependency_factory.h
+++ b/content/renderer/media/media_stream_dependency_factory.h
@@ -89,6 +89,14 @@ class CONTENT_EXPORT MediaStreamDependencyFactory
WebKit::WebMediaStream* description,
const MediaStreamExtraData::StreamStopCallback& stream_stop);
+ // Adds a libjingle representation of a MediaStreamTrack to |stream| based
+ // on the source of |track|.
+ bool AddNativeMediaStreamTrack(const WebKit::WebMediaStream& stream,
+ const WebKit::WebMediaStreamTrack& track);
+
+ bool RemoveNativeMediaStreamTrack(const WebKit::WebMediaStream& stream,
+ const WebKit::WebMediaStreamTrack& track);
+
// Asks the libjingle PeerConnection factory to create a libjingle
// PeerConnection object.
// The PeerConnection object is owned by PeerConnectionHandler.
« 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