mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-10-10 08:50:05 +08:00
fix: pull count
This commit is contained in:
@@ -151,7 +151,7 @@ func (conn *NetConnection) readChunk() (msg *Chunk, err error) {
|
||||
if chunk.bufLen == 0 {
|
||||
chunk.AVData.RecyclableMemory = mem
|
||||
} else {
|
||||
chunk.AVData.ReadFromBytes(mem.Buffers...)
|
||||
chunk.AVData.AddRecycleBytes(mem.Buffers...)
|
||||
}
|
||||
|
||||
chunk.bufLen += mem.Size
|
||||
|
Reference in New Issue
Block a user