Home
last modified time | relevance | path

Searched refs:bytes_remaining_ (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/webrtc/modules/pacing/
Dpaced_sender.cc205 bytes_remaining_(0) {} in IntervalBudget()
209 bytes_remaining_ = in set_target_rate_kbps()
210 std::max(-kWindowMs * target_rate_kbps_ / 8, bytes_remaining_); in set_target_rate_kbps()
215 if (bytes_remaining_ < 0) { in IncreaseBudget()
217 bytes_remaining_ = bytes_remaining_ + bytes; in IncreaseBudget()
220 bytes_remaining_ = bytes; in IncreaseBudget()
225 bytes_remaining_ = std::max(bytes_remaining_ - static_cast<int>(bytes), in UseBudget()
230 return static_cast<size_t>(std::max(0, bytes_remaining_)); in bytes_remaining()
239 int bytes_remaining_; member in webrtc::paced_sender::IntervalBudget