| Index: content/renderer/media/media_stream_constraints_util_video_source.h
|
| diff --git a/content/renderer/media/media_stream_constraints_util_video_source.h b/content/renderer/media/media_stream_constraints_util_video_source.h
|
| index 6ff14ed308498b8f00c5e0153ad15b9f2244b149..b3df2ff8f07feb5dbe1c717afa30aba322fd3730 100644
|
| --- a/content/renderer/media/media_stream_constraints_util_video_source.h
|
| +++ b/content/renderer/media/media_stream_constraints_util_video_source.h
|
| @@ -20,6 +20,11 @@ class WebMediaConstraints;
|
|
|
| namespace content {
|
|
|
| +// Calculates and returns videoKind value for |format|.
|
| +// See https://w3c.github.io/mediacapture-depth.
|
| +blink::WebString CONTENT_EXPORT
|
| +GetVideoKindForFormat(const media::VideoCaptureFormat& format);
|
| +
|
| struct CONTENT_EXPORT VideoCaptureCapabilities {
|
| VideoCaptureCapabilities();
|
| VideoCaptureCapabilities(VideoCaptureCapabilities&& other);
|
| @@ -52,6 +57,7 @@ class CONTENT_EXPORT VideoCaptureSourceSettings {
|
| long GetHeight() const;
|
| double GetFrameRate() const;
|
| blink::WebString GetDeviceId() const;
|
| + blink::WebString GetVideoKind() const;
|
|
|
| const media::VideoCaptureFormat& format() const { return format_; }
|
| const std::string& device_id() const { return device_id_; }
|
|
|