mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
server: replace SetuppedProtocol() with SetuppedTransport()
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user