Remove code related to REMB suppressor experiment.
Stats indicate this isn't helping. Ditching the whole thing. BUG=4082 R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/47569004 Cr-Commit-Position: refs/heads/master@{#8734} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8734 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -93,8 +93,7 @@ BitrateControllerImpl::BitrateControllerImpl(Clock* clock,
|
||||
last_bitrate_bps_(0),
|
||||
last_fraction_loss_(0),
|
||||
last_rtt_ms_(0),
|
||||
last_reserved_bitrate_bps_(0),
|
||||
remb_suppressor_(new RembSuppressor(clock)) {
|
||||
last_reserved_bitrate_bps_(0) {
|
||||
}
|
||||
|
||||
BitrateControllerImpl::~BitrateControllerImpl() {
|
||||
@ -127,9 +126,6 @@ void BitrateControllerImpl::SetReservedBitrate(uint32_t reserved_bitrate_bps) {
|
||||
void BitrateControllerImpl::OnReceivedEstimatedBitrate(uint32_t bitrate) {
|
||||
{
|
||||
CriticalSectionScoped cs(critsect_);
|
||||
if (remb_suppressor_->SuppresNewRemb(bitrate)) {
|
||||
return;
|
||||
}
|
||||
bandwidth_estimation_.UpdateReceiverEstimate(bitrate);
|
||||
}
|
||||
MaybeTriggerOnNetworkChanged();
|
||||
@ -208,14 +204,4 @@ bool BitrateControllerImpl::AvailableBandwidth(uint32_t* bandwidth) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
void BitrateControllerImpl::SetBitrateSent(uint32_t bitrate_sent_bps) {
|
||||
CriticalSectionScoped cs(critsect_);
|
||||
remb_suppressor_->SetBitrateSent(bitrate_sent_bps);
|
||||
}
|
||||
|
||||
void BitrateControllerImpl::SetCodecMode(webrtc::VideoCodecMode mode) {
|
||||
CriticalSectionScoped cs(critsect_);
|
||||
remb_suppressor_->SetEnabled(mode == kScreensharing);
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user