mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-12-24 13:48:04 +08:00
refactor: frame converter and mp4 track improvements
- Refactor frame converter implementation - Update mp4 track to use ICodex - General refactoring and code improvements 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -359,6 +359,7 @@ func (c *NetConnection) Receive(sendMode bool, onReceive func(byte, []byte) erro
|
||||
return
|
||||
} else if onReceive != nil {
|
||||
if err := onReceive(channelID, buf); err != nil {
|
||||
c.Error("onReceive", "error", err)
|
||||
c.MemoryAllocator.Free(buf)
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user