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

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

Issue 629493004: [Cast] Clean-up: Move max_unacked_frames into CongestionControl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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/sender/audio_sender.cc ('k') | media/cast/sender/congestion_control.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/congestion_control.h
diff --git a/media/cast/sender/congestion_control.h b/media/cast/sender/congestion_control.h
index 5d1256f75a953f77900f60223055d8aa552a465c..8c3d764e20fc73f19e11936a1722066746446663 100644
--- a/media/cast/sender/congestion_control.h
+++ b/media/cast/sender/congestion_control.h
@@ -22,6 +22,9 @@ class CongestionControl {
// Called with latest measured rtt value.
virtual void UpdateRtt(base::TimeDelta rtt) = 0;
+ // Called with an updated target playout delay value.
+ virtual void UpdateTargetPlayoutDelay(base::TimeDelta delay) = 0;
+
// Called when an encoded frame is sent to the transport.
virtual void SendFrameToTransport(uint32 frame_id,
size_t frame_size,
@@ -38,7 +41,7 @@ CongestionControl* NewAdaptiveCongestionControl(
base::TickClock* clock,
uint32 max_bitrate_configured,
uint32 min_bitrate_configured,
- size_t max_unacked_frames);
+ double max_frame_rate);
CongestionControl* NewFixedCongestionControl(uint32 bitrate);
« no previous file with comments | « media/cast/sender/audio_sender.cc ('k') | media/cast/sender/congestion_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698