fix: replace client wait

This commit is contained in:
langhuihui
2023-11-12 12:07:14 +08:00
parent 855038c132
commit e65f970097

View File

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