mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
update gortsplib
This commit is contained in:
parent
507afbf73d
commit
87f24f1704
6 changed files with 9 additions and 14 deletions
|
|
@ -244,12 +244,12 @@ func (c *rtspConn) onDescribe(ctx *gortsplib.ServerHandlerOnDescribeCtx,
|
|||
) (*base.Response, *gortsplib.ServerStream, error) {
|
||||
res := c.pathManager.onDescribe(pathDescribeReq{
|
||||
pathName: ctx.Path,
|
||||
url: ctx.Req.URL,
|
||||
url: ctx.Request.URL,
|
||||
authenticate: func(
|
||||
pathIPs []interface{},
|
||||
pathUser conf.Credential,
|
||||
pathPass conf.Credential) error {
|
||||
return c.authenticate(ctx.Path, pathIPs, pathUser, pathPass, "read", ctx.Req, ctx.Query)
|
||||
return c.authenticate(ctx.Path, pathIPs, pathUser, pathPass, "read", ctx.Request, ctx.Query)
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue