mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-05 08:36:56 +08:00
fix: subscriber wait track timeout
This commit is contained in:
@@ -524,10 +524,9 @@ func (s *Stream) run() {
|
||||
}
|
||||
if s.State == STATE_WAITTRACK {
|
||||
s.action(ACTION_TRACKAVAILABLE)
|
||||
} else {
|
||||
s.Subscribers.AbortWait()
|
||||
s.timeout.Reset(time.Second * 5)
|
||||
}
|
||||
s.Subscribers.AbortWait()
|
||||
s.timeout.Reset(time.Second * 5)
|
||||
} else {
|
||||
s.Debug("timeout", timeOutInfo)
|
||||
s.action(ACTION_TIMEOUT)
|
||||
|
Reference in New Issue
Block a user