Prevent erroneous stream pause. (#2008)

This commit is contained in:
Raja Subramanian
2023-08-29 13:21:57 +05:30
committed by GitHub
parent 7dc8a7f80c
commit f0ca262bcf
5 changed files with 114 additions and 51 deletions
+1 -1
View File
@@ -1135,7 +1135,7 @@ func (d *DownTrack) ProvisionalAllocateReset() {
d.forwarder.ProvisionalAllocateReset()
}
func (d *DownTrack) ProvisionalAllocate(availableChannelCapacity int64, layers buffer.VideoLayer, allowPause bool, allowOvershoot bool) int64 {
func (d *DownTrack) ProvisionalAllocate(availableChannelCapacity int64, layers buffer.VideoLayer, allowPause bool, allowOvershoot bool) (bool, int64) {
return d.forwarder.ProvisionalAllocate(availableChannelCapacity, layers, allowPause, allowOvershoot)
}