send padding packets of muted uptrack for go sdk (#1283)

This commit is contained in:
cnderrauber
2023-01-04 16:01:04 +08:00
committed by GitHub
parent cbc7d43ba4
commit fe4da84ee9
4 changed files with 70 additions and 12 deletions
+1 -1
View File
@@ -1351,7 +1351,7 @@ func (t *Track) SetMaxLayers(layers VideoLayers) bool {
}
func (t *Track) WritePaddingRTP(bytesToSend int) int {
return t.downTrack.WritePaddingRTP(bytesToSend)
return t.downTrack.WritePaddingRTP(bytesToSend, false)
}
func (t *Track) AllocateOptimal(allowOvershoot bool) VideoAllocation {