OLD | NEW |
---|---|
(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_ | |
OLD | NEW |