InsecureSkipVerify
This commit is contained in:
parent
505988a89c
commit
6ba34dc2bf
@ -128,7 +128,6 @@ func Dial(options RTSPClientOptions) (*RTSPClient, error) {
|
||||
return nil, err
|
||||
}
|
||||
if client.pURL.Scheme == "rtsps" {
|
||||
|
||||
tlsConn := tls.Client(conn, &tls.Config{InsecureSkipVerify: options.InsecureSkipVerify, ServerName: client.pURL.Hostname()})
|
||||
err = tlsConn.Handshake()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user