Index: Source/platform/mediastream/MediaStreamDescriptor.h |
diff --git a/Source/platform/mediastream/MediaStreamDescriptor.h b/Source/platform/mediastream/MediaStreamDescriptor.h |
index d4c05d5d82359c1c2702def0b8bae6e4c9edfb36..f3658f66a7e8f8e1e0e332c1601f6865f4e02a49 100644 |
--- a/Source/platform/mediastream/MediaStreamDescriptor.h |
+++ b/Source/platform/mediastream/MediaStreamDescriptor.h |
@@ -80,6 +80,9 @@ public: |
void addRemoteTrack(MediaStreamComponent*); |
void removeRemoteTrack(MediaStreamComponent*); |
+ bool active() const { return m_active; } |
+ void setActive(bool active) { m_active = active; } |
+ |
bool ended() const { return m_ended; } |
void setEnded() { m_ended = true; } |
@@ -94,6 +97,7 @@ private: |
String m_id; |
Vector<RefPtr<MediaStreamComponent> > m_audioComponents; |
Vector<RefPtr<MediaStreamComponent> > m_videoComponents; |
+ bool m_active; |
bool m_ended; |
OwnPtr<ExtraData> m_extraData; |