Use current bit rate when calculating bandwidth needed. (#1617)
This commit is contained in:
@@ -988,7 +988,8 @@ func (d *DownTrack) IsDeficient() bool {
|
||||
}
|
||||
|
||||
func (d *DownTrack) BandwidthRequested() int64 {
|
||||
return d.forwarder.BandwidthRequested()
|
||||
_, brs := d.receiver.GetLayeredBitrate()
|
||||
return d.forwarder.BandwidthRequested(brs)
|
||||
}
|
||||
|
||||
func (d *DownTrack) DistanceToDesired() float64 {
|
||||
|
||||
Reference in New Issue
Block a user