跟随引擎4.3.0版本

This commit is contained in:
dexter
2022-06-19 23:44:28 +08:00
parent ced54a94a4
commit 2c1d908d7e
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ func (conf *RTSPConfig) OnPlay(ctx *gortsplib.ServerHandlerOnPlayCtx) (*base.Res
case *RTSPSubscriber:
resp.StatusCode = base.StatusOK
go func() {
v.PlayBlock()
v.PlayRaw()
ctx.Session.Close()
}()
}