Add check for send-side bwe before applying alr settings
Bug: webrtc:7694 Change-Id: I359b27b96239af4e067055fc77ea285824e69edf Reviewed-on: https://webrtc-review.googlesource.com/14603 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20423}
This commit is contained in:
@ -365,6 +365,11 @@ void PacedSender::SetPacingFactor(float pacing_factor) {
|
||||
SetEstimatedBitrate(estimated_bitrate_bps_);
|
||||
}
|
||||
|
||||
float PacedSender::GetPacingFactor() const {
|
||||
rtc::CritScope cs(&critsect_);
|
||||
return pacing_factor_;
|
||||
}
|
||||
|
||||
void PacedSender::SetQueueTimeLimit(int limit_ms) {
|
||||
rtc::CritScope cs(&critsect_);
|
||||
queue_time_limit = limit_ms;
|
||||
|
||||
@ -144,6 +144,7 @@ class PacedSender : public Pacer {
|
||||
// Called when the prober is associated with a process thread.
|
||||
void ProcessThreadAttached(ProcessThread* process_thread) override;
|
||||
void SetPacingFactor(float pacing_factor);
|
||||
float GetPacingFactor() const;
|
||||
void SetQueueTimeLimit(int limit_ms);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user