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

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

Issue 366243003: VideoTrackAdapter: Add passing frames monitor, notify MSVCS -> MSVTrack(s) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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_video_source.h
diff --git a/content/renderer/media/media_stream_video_source.h b/content/renderer/media/media_stream_video_source.h
index 45d2b03082db635b30a1e0d697ef56b3f16d4d91..cf4160c83f2c307bb4e2c5546cafe805e6b2d891 100644
--- a/content/renderer/media/media_stream_video_source.h
+++ b/content/renderer/media/media_stream_video_source.h
@@ -88,6 +88,9 @@ class CONTENT_EXPORT MediaStreamVideoSource
// Sets ready state and notifies the ready state to all registered tracks.
virtual void SetReadyState(blink::WebMediaStreamSource::ReadyState state);
+ // Sets muted state and notifies it to all registered tracks.
+ virtual void SetMutedState(bool state);
+
// An implementation must fetch the formats that can currently be used by
// the source and call OnSupportedFormats when done.
// |max_requested_height| and |max_requested_width| is the max height and
@@ -144,6 +147,7 @@ class CONTENT_EXPORT MediaStreamVideoSource
void FinalizeAddTrack();
State state_;
+ bool muted_state_;
media::VideoCaptureFormat current_format_;

Powered by Google App Engine
This is Rietveld 408576698