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
@@ -164,7 +164,7 @@ func (t *Track) ProvisionalAllocateReset() {
t.downTrack.ProvisionalAllocateReset()
}
func (t *Track) ProvisionalAllocate(availableChannelCapacity int64, layer buffer.VideoLayer, allowPause bool, allowOvershoot bool) int64 {
func (t *Track) ProvisionalAllocate(availableChannelCapacity int64, layer buffer.VideoLayer, allowPause bool, allowOvershoot bool) (bool, int64) {
return t.downTrack.ProvisionalAllocate(availableChannelCapacity, layer, allowPause, allowOvershoot)
}