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

Unified Diff: Source/platform/exported/WebMediaStreamTrack.cpp

Issue 569613002: Add the possibility to specify MediaStreamTrack::remote when creating a track. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | « Source/modules/mediastream/MediaStreamTrack.idl ('k') | Source/platform/mediastream/MediaStreamComponent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebMediaStreamTrack.cpp
diff --git a/Source/platform/exported/WebMediaStreamTrack.cpp b/Source/platform/exported/WebMediaStreamTrack.cpp
index 4b7b3ac35f83510b8a11e9e408a1ee0b3b49797d..e4e2e94f72e2af4843efe9f006966ddea7627a14 100644
--- a/Source/platform/exported/WebMediaStreamTrack.cpp
+++ b/Source/platform/exported/WebMediaStreamTrack.cpp
@@ -84,7 +84,12 @@ void WebMediaStreamTrack::initialize(const WebMediaStreamSource& source)
void WebMediaStreamTrack::initialize(const WebString& id, const WebMediaStreamSource& source)
{
- m_private = MediaStreamComponent::create(id, source);
+ initialize(id, source, true);
hta - Chromium 2014/09/24 10:07:33 This choice is strange, since it will make remote
+}
+
+void WebMediaStreamTrack::initialize(const WebString& id, const WebMediaStreamSource& source, bool remote)
+{
+ m_private = MediaStreamComponent::create(id, source, remote);
}
void WebMediaStreamTrack::reset()
« no previous file with comments | « Source/modules/mediastream/MediaStreamTrack.idl ('k') | Source/platform/mediastream/MediaStreamComponent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698