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

Unified Diff: media/base/video_frame_metadata.h

Issue 1484403002: cast: Support for low-latency interactive mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cast streaming API tests Created 5 years 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
Index: media/base/video_frame_metadata.h
diff --git a/media/base/video_frame_metadata.h b/media/base/video_frame_metadata.h
index 48fe509719fc9e3f724086903af85a7845b709cf..ed1b7d57c5d47f73b3bf422fbc507681499c8a5f 100644
--- a/media/base/video_frame_metadata.h
+++ b/media/base/video_frame_metadata.h
@@ -5,6 +5,8 @@
#ifndef MEDIA_BASE_VIDEO_FRAME_METADATA_H_
#define MEDIA_BASE_VIDEO_FRAME_METADATA_H_
+#include <string>
+
#include "base/compiler_specific.h"
#include "base/time/time.h"
#include "base/values.h"
@@ -50,6 +52,14 @@ class MEDIA_EXPORT VideoFrameMetadata {
// key.
FRAME_RATE,
+ // This is a boolean that signals that the video capture engine detects
+ // interactive content. One possible optimization that this signal can help
+ // with is remote content: adjusting end-to-end latency down to help the
+ // user better coordinate their actions
miu 2015/12/08 00:16:16 nit: Period at end of sentence.
Irfan 2015/12/08 01:30:18 Done.
+ //
+ // Use Get/SetBoolean for this key.
+ INTERACTIVE_CONTENT,
+
// This field represents the local time at which either: 1) the frame was
// generated, if it was done so locally; or 2) the targeted play-out time
// of the frame, if it was generated from a remote source. This value is NOT

Powered by Google App Engine
This is Rietveld 408576698