client: rename ClientProtocol into ClientTransport

This commit is contained in:
aler9
2021-10-22 16:25:27 +02:00
parent 04ff57287d
commit 7735bcd9ec
7 changed files with 115 additions and 115 deletions

View File

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