修改等待关键帧逻辑

This commit is contained in:
langhuihui
2021-02-10 22:19:48 +08:00
parent c0f821e56e
commit 70706fc8da
8 changed files with 56 additions and 35 deletions

View File

@@ -58,6 +58,5 @@ func (s *Subscriber) Subscribe(streamPath string) error {
if s.Context == nil {
return errors.Errorf("stream not exist:%s", streamPath)
}
<-s.WaitPub
return nil
}