mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-05 15:46:58 +08:00
do not allow closed static sources to set a path as ready
This commit is contained in:
@@ -159,6 +159,7 @@ func (s *rtmpSource) runInner() bool {
|
||||
s.log(logger.Info, "ready")
|
||||
|
||||
res := s.parent.OnSourceStaticSetReady(pathSourceStaticSetReadyReq{
|
||||
Source: s,
|
||||
Tracks: tracks,
|
||||
})
|
||||
if res.Err != nil {
|
||||
|
Reference in New Issue
Block a user