rename Transport* into Protocol* (#895)

This commit is contained in:
Alessandro Ros
2025-09-16 12:06:50 +02:00
committed by GitHub
parent ec81d388d1
commit 425fce20fc
13 changed files with 107 additions and 105 deletions

View File

@@ -28,6 +28,8 @@ func main() {
c := gortsplib.Client{
Scheme: u.Scheme,
Host: u.Host,
// tunneling method.
Tunnel: gortsplib.TunnelNone,
// transport protocol (UDP, Multicast or TCP). If nil, it is chosen automatically
Protocol: nil,
// timeout of read operations