升级playblock

This commit is contained in:
dexter
2022-03-27 11:37:19 +08:00
parent 40a9b74ea4
commit 3aee7da66f
5 changed files with 109 additions and 3 deletions

View File

@@ -188,7 +188,7 @@ func (opt *Plugin) Subscribe(streamPath string, sub ISubscriber) error {
func (opt *Plugin) SubscribeBlock(streamPath string, sub ISubscriber) (err error) {
if err = opt.Subscribe(streamPath, sub); err == nil {
sub.PlayBlock(sub)
sub.PlayBlock()
}
return
}