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

Side by Side Diff: content/public/renderer/media_stream_track_api.h

Issue 1672713002: MediaStreamVideoSource exports current video format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added public API Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/renderer/media_stream_track_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_TRACK_API_H_
6 #define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_TRACK_API_H_
7
8 #include "content/common/content_export.h"
9 #include "media/base/video_capture_types.h"
10
11 namespace blink {
12 class WebMediaStreamTrack;
13 }
14
15 namespace content {
16
17 // On success returns pointer to the current format of the given video track;
18 // returns nullptr on failure (if the argument is invalid or if the format
19 // cannot be retrieved at the moment).
20 CONTENT_EXPORT const media::VideoCaptureFormat* GetCurrentVideoTrackFormat(
miu 2016/03/12 01:23:14 Maybe this function should go in content/public/re
21 const blink::WebMediaStreamTrack& video_track);
22
23 } // namespace content
24
25 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_TRACK_API_H_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/renderer/media_stream_track_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698