Index: content/renderer/media/media_stream_track.h |
diff --git a/content/renderer/media/media_stream_track.h b/content/renderer/media/media_stream_track.h |
index 456005d4d054284e2a999187c5375c171a468369..c50500dae08c5c0d9c81e9f4872be3cc21b508e2 100644 |
--- a/content/renderer/media/media_stream_track.h |
+++ b/content/renderer/media/media_stream_track.h |
@@ -34,6 +34,8 @@ class CONTENT_EXPORT MediaStreamTrack |
// If a subclass overrides this method it has to call the base class. |
virtual void SetEnabled(bool enabled); |
+ virtual void SetMutedState(bool muted_state); |
+ |
// TODO(xians): Make this pure virtual when Stop[Track] has been |
// implemented for remote audio tracks. |
virtual void Stop(); |
@@ -45,6 +47,9 @@ class CONTENT_EXPORT MediaStreamTrack |
protected: |
scoped_refptr<webrtc::MediaStreamTrackInterface> track_; |
+ // The source can put this attribute to true if it's not delivering frames. |
Henrik Grunell
2014/07/08 11:39:53
I think it should say "This will be set to true if
mcasas
2014/07/08 16:12:01
source -> MediaStreamSource.
Rewritten.
|
+ bool muted_state_; |
+ |
private: |
const bool is_local_track_; |