mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
rewrite URL functions
This commit is contained in:
@@ -74,7 +74,7 @@ func handleConn(conn *gortsplib.ServerConn) {
|
||||
}
|
||||
|
||||
// called after receiving a SETUP request.
|
||||
onSetup := func(req *base.Request, th *headers.Transport, basePath string, trackID int) (*base.Response, error) {
|
||||
onSetup := func(req *base.Request, th *headers.Transport, trackID int) (*base.Response, error) {
|
||||
return &base.Response{
|
||||
StatusCode: base.StatusOK,
|
||||
Header: base.Header{
|
||||
|
Reference in New Issue
Block a user