ServerConn: add basePath argument to onSetup

This commit is contained in:
aler9
2021-01-17 20:02:40 +01:00
parent 0955b0b789
commit cc7afd6f35
5 changed files with 7 additions and 7 deletions

View File

@@ -74,7 +74,7 @@ func handleConn(conn *gortsplib.ServerConn) {
}
// called after receiving a SETUP request.
onSetup := func(req *base.Request, th *headers.Transport, trackID int) (*base.Response, error) {
onSetup := func(req *base.Request, th *headers.Transport, basePath string, trackID int) (*base.Response, error) {
return &base.Response{
StatusCode: base.StatusOK,
Header: base.Header{