server: replace SetuppedProtocol() with SetuppedTransport()

This commit is contained in:
aler9
2021-10-22 17:40:18 +02:00
parent 7a000bed0e
commit e7ab15750c
6 changed files with 233 additions and 194 deletions

View File

@@ -43,7 +43,7 @@ func main() {
// Client allows to set additional client options
c := &gortsplib.Client{
// the stream transport (UDP, Multicast or TCP). If nil, it is chosen automatically
// the stream transport (UDP or TCP). If nil, it is chosen automatically
Transport: nil,
// timeout of read operations
ReadTimeout: 10 * time.Second,