mirror of https://bitbucket.org/ausocean/av.git
Merged in rtmp-dial-error-close (pull request #149)
Removed incorrect Close upon Dial error. Approved-by: kortschak <dan@kortschak.io> Approved-by: Alan Noble <anoble@gmail.com>
This commit is contained in:
commit
471cd56c54
|
@ -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