mirror of https://bitbucket.org/ausocean/av.git
Removed incorrect Close upon Dial error.
This commit is contained in:
parent
9b57306aed
commit
01d85af133
|
@ -273,7 +273,6 @@ func newRtmpSender(url string, timeout uint, retries int, log func(lvl int8, msg
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
log(logger.Error, err.Error())
|
log(logger.Error, err.Error())
|
||||||
conn.Close()
|
|
||||||
if n < retries-1 {
|
if n < retries-1 {
|
||||||
log(logger.Info, pkg+"retry rtmp connection")
|
log(logger.Info, pkg+"retry rtmp connection")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue