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

Unified Diff: Source/modules/mediastream/MediaStreamTrack.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: Fixed construction call from WebAudio. Created 6 years, 2 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: Source/modules/mediastream/MediaStreamTrack.cpp
diff --git a/Source/modules/mediastream/MediaStreamTrack.cpp b/Source/modules/mediastream/MediaStreamTrack.cpp
index 6fa13dbec4e8e94512dbcde6476181eb27c7b173..cb71d562699aea2c43fe7f2a03d0e0baae8b7e36 100644
--- a/Source/modules/mediastream/MediaStreamTrack.cpp
+++ b/Source/modules/mediastream/MediaStreamTrack.cpp
@@ -110,6 +110,16 @@ bool MediaStreamTrack::muted() const
return m_component->muted();
}
+bool MediaStreamTrack::remote() const
+{
+ return m_component->source()->remote();
+}
+
+bool MediaStreamTrack::readonly() const
+{
+ return m_component->source()->readonly();
+}
+
String MediaStreamTrack::readyState() const
{
if (ended())
« no previous file with comments | « Source/modules/mediastream/MediaStreamTrack.h ('k') | Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698