This commit is contained in:
langhuihui
2023-11-13 17:28:29 +08:00
parent e65f970097
commit c794c0514f

View File

@@ -91,8 +91,7 @@ func (p *RTSPPuller) Pull() (err error) {
p.Error("Play", zap.Error(err)) p.Error("Play", zap.Error(err))
return err return err
} }
<-p.Done() return p.Wait()
return p.Err()
} }
type RTSPPusher struct { type RTSPPusher struct {