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

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

Issue 326783002: Cast: Updated congestion control (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bugfix Created 6 years, 6 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
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 c949ba335603fa79945e6c9a990fd743480720bf..30066cbbf8025a4a535fd7bb7da2e69bc774beb6 100644
--- a/media/cast/video_sender/video_sender.h
+++ b/media/cast/video_sender/video_sender.h
@@ -97,8 +97,6 @@ class VideoSender : public RtcpSenderFeedback,
void SendEncodedVideoFrame(int requested_bitrate_before_encode,
scoped_ptr<transport::EncodedFrame> encoded_frame);
- void UpdateBitrate(int32 new_bitrate);
-
const scoped_refptr<CastEnvironment> cast_environment_;
// The total amount of time between a frame's capture/recording on the sender
@@ -161,10 +159,6 @@ class VideoSender : public RtcpSenderFeedback,
// case, VideoSender will trigger a re-send of the next frame.
int duplicate_ack_counter_;
- // Desired encoder bitrate (in bits per second). This is updated by querying
- // |congestion_control_| as each ACK is received.
- 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.
« no previous file with comments | « media/cast/congestion_control/congestion_control_unittest.cc ('k') | media/cast/video_sender/video_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698