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

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

Issue 2339193002: Wip - cl for implemening VideoTrackSource::ApplyConstraints(constraints, VideoTrack) and adopt safe…
Patch Set: Created 4 years, 3 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
« no previous file with comments | « content/renderer/media/media_stream_source.h ('k') | content/renderer/media/media_stream_video_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3d79aeafb776d0fe9c84c08615d4f688df848e34..44eb76b9e34739ffc6f43bb8e034655dfdc543b2 100644
--- a/content/renderer/media/media_stream_video_source.h
+++ b/content/renderer/media/media_stream_video_source.h
@@ -64,11 +64,16 @@ class CONTENT_EXPORT MediaStreamVideoSource
static MediaStreamVideoSource* GetVideoSource(
const blink::WebMediaStreamSource& source);
+ bool ConnectToTrack(const blink::WebMediaStreamTrack& blink_track) override;
+
+ void ApplyConstraints(const blink::WebMediaStreamTrack& blink_track,
+ const blink::WebMediaConstraints& constraints,
+ const ConstraintsCallback& callback);
// Puts |track| in the registered tracks list.
- void AddTrack(MediaStreamVideoTrack* track,
+ /*void AddTrack(MediaStreamVideoTrack* track,
const VideoCaptureDeliverFrameCB& frame_callback,
const blink::WebMediaConstraints& constraints,
- const ConstraintsCallback& callback);
+ const ConstraintsCallback& callback);*/
void RemoveTrack(MediaStreamVideoTrack* track);
void UpdateCapturingLinkSecure(MediaStreamVideoTrack* track, bool is_secure);
« no previous file with comments | « content/renderer/media/media_stream_source.h ('k') | content/renderer/media/media_stream_video_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698