Index: media/cast/video_sender/video_sender.h |
diff --git a/media/cast/video_sender/video_sender.h b/media/cast/video_sender/video_sender.h |
index 89ff938ae65d0bf0ee63eae15d3016d5af3414b8..394da0b2f5f5929c8b3db146a1e542b8fac377ce 100644 |
--- a/media/cast/video_sender/video_sender.h |
+++ b/media/cast/video_sender/video_sender.h |
@@ -124,6 +124,10 @@ class VideoSender : public base::NonThreadSafe, |
base::TimeTicks last_checked_skip_count_time_; |
int last_skip_count_; |
int current_requested_bitrate_; |
+ // When we get close to the max number of un-acked frames, we set lower |
+ // the bitrate drastically to ensure that we catch up. Without this we |
+ // risk getting stuck in a catch-up state forever. |
+ int current_bitrate_divider_; |
CongestionControl congestion_control_; |
// This is a "good enough" mapping for finding the RTP timestamp associated |