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

Unified Diff: media/cast/sender/video_sender.h

Issue 1484403002: cast: Support for low-latency interactive mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/cast/sender/video_sender.h
diff --git a/media/cast/sender/video_sender.h b/media/cast/sender/video_sender.h
index ab31e7b9b3562185474864c02c47a591fff15780..72d80492ef4de0c57311d6aab72f50f1ca3c2feb 100644
--- a/media/cast/sender/video_sender.h
+++ b/media/cast/sender/video_sender.h
@@ -98,6 +98,17 @@ class VideoSender : public FrameSender,
PlayoutDelayChangeCB playout_delay_change_cb_;
+ // Presence of animated content as detected by the video oracle.
+ bool animation_content_;
+ // Presence of user generated events detected during capture.
+ bool user_interaction_;
+ // Tracks the number of user interactions since animated content stopped
+ // being sent.
+ int user_interaction_count_;
+ // Interactive mode as decided by the video sender and this would indicate
+ // that we are operating in low-latency mode with a reduced playout time.
+ bool interactive_mode_;
+
// The video encoder's performance metrics as of the last call to
// OnEncodedVideoFrame(). See header file comments for SenderEncodedFrame for
// an explanation of these values.

Powered by Google App Engine
This is Rietveld 408576698