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