mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-05 15:16:49 +08:00
chore: 未探测到track, 关闭source
This commit is contained in:
@@ -325,6 +325,8 @@ func (s *PublishSource) OnTrackNotFind() {
|
||||
}
|
||||
|
||||
log.Sugar.Errorf("no tracks found. source id: %s", s.ID)
|
||||
// 异步关闭source
|
||||
go CloseSource(s.ID)
|
||||
}
|
||||
|
||||
func (s *PublishSource) OnPacket(packet *avformat.AVPacket) {
|
||||
|
Reference in New Issue
Block a user