mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
client: fix support for ReadBufferCount > 1
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user