expose transport details (#850)

add Client.Transport, ServerConn.Transport ServerSession.Transport
This commit is contained in:
Alessandro Ros
2025-09-06 16:28:40 +02:00
committed by GitHub
parent 3c2625c7cf
commit c466c342ba
20 changed files with 241 additions and 137 deletions

8
client_transport.go Normal file
View File

@@ -0,0 +1,8 @@
package gortsplib
// ClientTransport contains details about the client transport.
type ClientTransport struct {
Conn ConnTransport
// present only when SETUP has been called at least once.
Session *SessionTransport
}