srt: set source not ready when reader exits (#4467)

This commit is contained in:
Evan Wilson 2025-05-27 13:00:46 -07:00 committed by GitHub
parent 5b000132a7
commit 631116d5ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {