client: fix RTSPS default port

This commit is contained in:
aler9
2022-07-09 17:13:11 +02:00
parent e262385062
commit 234e4f4f8d

View File

@@ -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")
} }
} }