mirror of
https://github.com/aler9/gortsplib
synced 2025-09-27 11:32:08 +08:00
rename Transport2 into Transport (#897)
This commit is contained in:
@@ -104,7 +104,7 @@ type ServerHandlerOnSetupCtx struct {
|
|||||||
Request *base.Request
|
Request *base.Request
|
||||||
Path string
|
Path string
|
||||||
Query string
|
Query string
|
||||||
Transport2 *SessionTransport
|
Transport *SessionTransport
|
||||||
}
|
}
|
||||||
|
|
||||||
// ServerHandlerOnSetup can be implemented by a ServerHandler.
|
// ServerHandlerOnSetup can be implemented by a ServerHandler.
|
||||||
|
@@ -1232,7 +1232,7 @@ func (ss *ServerSession) handleRequestInner(sc *ServerConn, req *base.Request) (
|
|||||||
Request: req,
|
Request: req,
|
||||||
Path: path,
|
Path: path,
|
||||||
Query: query,
|
Query: query,
|
||||||
Transport2: &SessionTransport{
|
Transport: &SessionTransport{
|
||||||
Protocol: protocol,
|
Protocol: protocol,
|
||||||
Profile: inTH.Profile,
|
Profile: inTH.Profile,
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user