去掉unknowTrack

This commit is contained in:
dexter
2022-05-20 14:17:05 +08:00
parent 48b0fc9768
commit dbf0e0b070
12 changed files with 160 additions and 162 deletions

View File

@@ -138,7 +138,7 @@ func (s *Subscriber) AddTrack(t Track) bool {
default:
return false
}
s.Info("track+1", zap.String("name", t.GetName()))
s.Info("track+1", zap.String("name", t.GetBase().Name))
return true
}
@@ -335,7 +335,7 @@ type IPusher interface {
Reconnect() bool
}
type Pusher struct {
Client[config.Push]
ClientIO[config.Push]
}
// 是否需要重连