mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
client: fix RTSPS default port
This commit is contained in:
@@ -951,7 +951,7 @@ func (c *Client) connOpen() error {
|
|||||||
if c.scheme == "rtsp" {
|
if c.scheme == "rtsp" {
|
||||||
c.host = net.JoinHostPort(c.host, "554")
|
c.host = net.JoinHostPort(c.host, "554")
|
||||||
} else { // rtsps
|
} else { // rtsps
|
||||||
c.host = net.JoinHostPort(c.host, "8322")
|
c.host = net.JoinHostPort(c.host, "322")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user