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:
@@ -36,7 +36,13 @@ func (w *WaitManager) WakeUp(streamPath string, publisher *Publisher) {
|
||||
for subscriber := range waiting.Range {
|
||||
publisher.AddSubscriber(subscriber)
|
||||
}
|
||||
w.Remove(waiting)
|
||||
waiting.Clear()
|
||||
publisher.OnDispose(func() {
|
||||
if waiting.Length == 0 {
|
||||
w.Remove(waiting)
|
||||
}
|
||||
})
|
||||
// w.Remove(waiting)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user