refactor ondemand system

This commit is contained in:
aler9
2021-08-03 22:40:47 +02:00
parent fd27ed941e
commit e516d265d6
4 changed files with 232 additions and 269 deletions

View File

@@ -173,7 +173,7 @@ func (s *rtmpSource) runInner() bool {
})
defer func() {
s.parent.OnSourceStaticSetNotReady(pathSourceStaticSetNotReadyReq{})
s.parent.OnSourceStaticSetNotReady(pathSourceStaticSetNotReadyReq{Source: s})
}()
rtcpSenders := rtcpsenderset.New(tracks, s.parent.OnSourceFrame)