summaryrefslogtreecommitdiffstats
path: root/content/renderer/media/media_stream_video_source.h
diff options
context:
space:
mode:
authorperkj@chromium.org <perkj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-06 16:24:58 +0000
committerperkj@chromium.org <perkj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-06 16:24:58 +0000
commitcd23a60d45bb24e2379c85b859c9fbbbf95af4a0 (patch)
treefa1f1dd8fbe3cf3498eb8c5b418a408f62f3a735 /content/renderer/media/media_stream_video_source.h
parentb40c3c9ccf65c744ef47ddbb0d01907feb6c2979 (diff)
downloadchromium_src-cd23a60d45bb24e2379c85b859c9fbbbf95af4a0.zip
chromium_src-cd23a60d45bb24e2379c85b859c9fbbbf95af4a0.tar.gz
chromium_src-cd23a60d45bb24e2379c85b859c9fbbbf95af4a0.tar.bz2
Implement a source for remote video tracks.
MediaStreamRemoteVideoSource implements the MediaStreamVideoSource interface for video tracks received on a PeerConnection. The purpose of the class is to make sure there is no difference between a video track where the source is a local source and a video track where the source is a remote video track. BUG=334243 Review URL: https://codereview.chromium.org/201583003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262050 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/media/media_stream_video_source.h')
-rw-r--r--content/renderer/media/media_stream_video_source.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/media/media_stream_video_source.h b/content/renderer/media/media_stream_video_source.h
index b080a47..af33b4e 100644
--- a/content/renderer/media/media_stream_video_source.h
+++ b/content/renderer/media/media_stream_video_source.h
@@ -64,7 +64,7 @@ class CONTENT_EXPORT MediaStreamVideoSource
// interface of this class.
// This creates a VideoSourceInterface implementation if it does not already
// exist.
- webrtc::VideoSourceInterface* GetAdapter();
+ virtual webrtc::VideoSourceInterface* GetAdapter();
// Return true if |name| is a constraint supported by MediaStreamVideoSource.
static bool IsConstraintSupported(const std::string& name);
@@ -130,7 +130,7 @@ class CONTENT_EXPORT MediaStreamVideoSource
STARTED,
ENDED
};
- State state() { return state_; }
+ State state() const { return state_; }
private:
// Creates a webrtc::VideoSourceInterface used by libjingle.