mirror of
https://github.com/aler9/gortsplib
synced 2025-10-13 02:43:53 +08:00
remove Get from function names
This commit is contained in:
@@ -334,7 +334,7 @@ func (c *ConnClient) SetupUdp(u *url.URL, track *Track, rtpPort int,
|
||||
return 0, 0, nil, fmt.Errorf("SETUP: transport header: %s", err)
|
||||
}
|
||||
|
||||
rtpServerPort, rtcpServerPort := th.GetPorts("server_port")
|
||||
rtpServerPort, rtcpServerPort := th.Ports("server_port")
|
||||
if rtpServerPort == 0 {
|
||||
return 0, 0, nil, fmt.Errorf("SETUP: server ports not provided")
|
||||
}
|
||||
|
Reference in New Issue
Block a user