Update deque and friends. (#3276)

This commit is contained in:
Raja Subramanian
2024-12-20 07:16:14 +05:30
committed by GitHub
parent 36338bab5c
commit c8b644934f
9 changed files with 61 additions and 49 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ func NewBuffer(ssrc uint32, maxVideoPkts, maxAudioPkts int) *Buffer {
logger: l.WithComponent(sutils.ComponentPub).WithComponent(sutils.ComponentSFU),
}
b.readCond = sync.NewCond(&b.RWMutex)
b.extPackets.SetMinCapacity(7)
b.extPackets.SetBaseCap(128)
return b
}