VideoTrackAdapter: Add passing frames monitor, notify MSVCS -> MSVTrack(s)
commit251e84deb09ec711daa229c36e1fe19ac0d318d0
authormcasas@chromium.org <mcasas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Jul 2014 00:02:00 +0000 (16 00:02 +0000)
committermcasas@chromium.org <mcasas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Jul 2014 00:02:00 +0000 (16 00:02 +0000)
tree77801b4470cceda9b89ec2c62eaf88f10713b6d7
parentcc2ebc705654d3d818e31d0b29557370905f2a65
VideoTrackAdapter: Add passing frames monitor, notify MSVCS -> MSVTrack(s)

MediaStreamVideoSource owns a VideoTrackAdapter, that sees the
frames passing by (possibly adapting frame rate and resolution).
This CL extends this VTA to monitor passing frames. Every time the
monitoring wakes up, it notifies the MediaStreamVideoSource of
the muted state via SetMutedState. This Class has no state, simply
updates all registered MediaStreamVideoTracks, who have a
muted state.

Later CLs will further connect the MSVT::SetMutedState() to
ping WebMediaStreamTrack etc.

BUG=389159

Review URL: https://codereview.chromium.org/366243003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283285 0039d316-1c4b-4281-b951-d872f2087c98
12 files changed:
content/renderer/media/media_stream_track.cc
content/renderer/media/media_stream_track.h
content/renderer/media/media_stream_video_capturer_source.cc
content/renderer/media/media_stream_video_capturer_source.h
content/renderer/media/media_stream_video_source.cc
content/renderer/media/media_stream_video_source.h
content/renderer/media/media_stream_video_source_unittest.cc
content/renderer/media/media_stream_video_track.cc
content/renderer/media/media_stream_video_track.h
content/renderer/media/mock_media_stream_video_source.h
content/renderer/media/video_track_adapter.cc
content/renderer/media/video_track_adapter.h