mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
srt: set source not ready when reader exits (#4467)
This commit is contained in:
parent
5b000132a7
commit
631116d5ce
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,8 @@ func (s *Source) runReader(sconn srt.Conn) error {
|
|||
return res.Err
|
||||
}
|
||||
|
||||
defer s.Parent.SetNotReady(defs.PathSourceStaticSetNotReadyReq{})
|
||||
|
||||
stream = res.Stream
|
||||
|
||||
for {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue