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

Unified Diff: media/cast/rtcp/rtcp.h

Issue 192843002: Cast:Adding signaling and infrastructure for adjustable delay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 6 years, 9 months 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
« no previous file with comments | « media/cast/cast_receiver_impl.cc ('k') | media/cast/rtcp/rtcp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/rtcp/rtcp.h
diff --git a/media/cast/rtcp/rtcp.h b/media/cast/rtcp/rtcp.h
index 32af62268b3fe0b6ed50cc34fc7055f06274440d..59ba3d99f90551a84a9de9ffa7ec8280f254ec02 100644
--- a/media/cast/rtcp/rtcp.h
+++ b/media/cast/rtcp/rtcp.h
@@ -116,6 +116,9 @@ class Rtcp {
// used to remove duplicates. The history will store at most |size| events.
void SetCastReceiverEventHistorySize(size_t size);
+ // Update the target delay. Will be added to every sender report.
+ void SetTargetDelay(base::TimeDelta target_delay);
+
protected:
int CheckForWrapAround(uint32 new_timestamp, uint32 old_timestamp) const;
@@ -189,6 +192,7 @@ class Rtcp {
base::TimeDelta max_rtt_;
int number_of_rtt_in_avg_;
float avg_rtt_ms_;
+ uint16 target_delay_ms_;
DISALLOW_COPY_AND_ASSIGN(Rtcp);
};
« no previous file with comments | « media/cast/cast_receiver_impl.cc ('k') | media/cast/rtcp/rtcp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698