Add method to check for probe goal reached (#3253)

* Check for early probe end

* use old packets for probing

* fmt
This commit is contained in:
Raja Subramanian
2024-12-15 23:34:07 +05:30
committed by GitHub
parent cfe3178542
commit be65d24333
8 changed files with 54 additions and 22 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ func (t *Track) WritePaddingRTP(bytesToSend int) int {
}
func (t *Track) WriteProbePackets(bytesToSend int) int {
return t.downTrack.WriteProbePackets(bytesToSend, true)
return t.downTrack.WriteProbePackets(bytesToSend, false)
}
func (t *Track) AllocateOptimal(allowOvershoot bool, hold bool) sfu.VideoAllocation {