Chromium Code Reviews| Index: content/common/media/media_stream_options.h |
| diff --git a/content/common/media/media_stream_options.h b/content/common/media/media_stream_options.h |
| index 55f568736b9480492aacddf0d31ac9bfd58ebeac..e2b542226550f652411e829798ee0b7dc4a47fd8 100644 |
| --- a/content/common/media/media_stream_options.h |
| +++ b/content/common/media/media_stream_options.h |
| @@ -21,6 +21,14 @@ CONTENT_EXPORT extern const char kMediaStreamSourceScreen[]; |
| CONTENT_EXPORT extern const char kMediaStreamSourceDesktop[]; |
| CONTENT_EXPORT extern const char kMediaStreamSourceSystem[]; |
| +// The type of video stream. See https://w3c.github.io/mediacapture-depth. |
| +enum VideoKind { |
| + VIDEO_KIND_NO_CONSTRAINT, |
|
Guido Urdaneta
2017/02/07 10:26:04
would VIDEO_KIND_NONE be better name?
At this poin
aleksandar.stojiljkovic
2017/02/07 11:33:49
Done. I didn't like it's semantics when using it a
|
| + VIDEO_KIND_COLOR, |
| + VIDEO_KIND_DEPTH, |
| + NUM_VIDEO_KINDS, |
| +}; |
| + |
| struct CONTENT_EXPORT TrackControls { |
| public: |
| TrackControls(); |
| @@ -54,6 +62,8 @@ struct CONTENT_EXPORT StreamControls { |
| // See crbug.com/564574 for discussion on possibly #ifdef'ing this out. |
| bool hotword_enabled; // kMediaStreamAudioHotword = "googHotword"; |
| bool disable_local_echo; |
| + // https://w3c.github.io/mediacapture-depth |
| + VideoKind video_kind; |
| }; |
| // StreamDeviceInfo describes information about a device. |