client: fix support for ReadBufferCount > 1

This commit is contained in:
aler9
2022-03-07 22:36:19 +01:00
parent b399656856
commit 94aaa6719d
4 changed files with 67 additions and 64 deletions

View File

@@ -752,7 +752,6 @@ func (c *Client) runReader() {
if c.state == clientStatePlay {
tcpReadBuffer = multibuffer.New(uint64(c.ReadBufferCount), uint64(c.ReadBufferSize))
tcpRTPPacketBuffer := newRTPPacketMultiBuffer(uint64(c.ReadBufferCount))
processFunc = func(trackID int, isRTP bool, payload []byte) {