mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-05 08:36:56 +08:00
修复data track订阅问题
This commit is contained in:
@@ -220,7 +220,7 @@ var ErrStreamNotExist = errors.New("stream not exist")
|
||||
|
||||
// SubscribeExist 订阅已经存在的流
|
||||
func (opt *Plugin) SubscribeExist(streamPath string, sub ISubscriber) error {
|
||||
opt.Info("subscribe exit", zap.String("path", streamPath))
|
||||
opt.Info("subscribe exsit", zap.String("path", streamPath))
|
||||
path, _, _ := strings.Cut(streamPath, "?")
|
||||
if !Streams.Has(path) {
|
||||
opt.Warn("stream not exist", zap.String("path", streamPath))
|
||||
|
Reference in New Issue
Block a user