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

Unified Diff: media/cast/sender/frame_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/frame_sender.h
diff --git a/media/cast/sender/frame_sender.h b/media/cast/sender/frame_sender.h
index d3b925e6dcf0e8d74a1dfb7e51cd1343e7a11f6e..58ba0a721d0b0eb35368bf45f08b4e3981529afa 100644
--- a/media/cast/sender/frame_sender.h
+++ b/media/cast/sender/frame_sender.h
@@ -20,6 +20,15 @@
namespace media {
namespace cast {
+// Starting playout time when we enter interactive mode.
+const int kInteractiveModeStartPlayoutTimeMs = 120;
miu 2015/12/01 21:15:27 Rather than as constants, these should be plumbed-
Irfan 2015/12/02 22:32:44 I thought about this and have gone with following:
+
+// Starting playout time when we encounter a need to drop a frame while in
+// non-interactive mode. This is chosen to be a value that is known to work
+// well for animation content in order to minimize freezing while switching
+// between interactive and non-interactive mode.
+const int kNonInteractiveModeStartPlayoutTimeMs = 400;
+
struct SenderEncodedFrame;
class FrameSender {

Powered by Google App Engine
This is Rietveld 408576698