mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-17 22:21:46 +08:00
fix: global value override
This commit is contained in:
2
io.go
2
io.go
@@ -218,7 +218,7 @@ func (io *IO) receive(streamPath string, specific IIO) error {
|
||||
if !isSubscribe {
|
||||
puber := iPub.GetPublisher()
|
||||
conf := puber.Config
|
||||
io.Info("publish", zap.String("ptr", fmt.Sprintf("%p", io.Context)))
|
||||
io.Info("publish", zap.String("ptr", fmt.Sprintf("%p", iPub)))
|
||||
s.pubLocker.Lock()
|
||||
defer s.pubLocker.Unlock()
|
||||
if config.Global.EnableAuth {
|
||||
|
Reference in New Issue
Block a user