mirror of https://bitbucket.org/ausocean/av.git
Trying to fix mem leak
This commit is contained in:
parent
26de66cf5c
commit
0b9f678354
|
@ -396,7 +396,6 @@ func (r *revid) outputClips() {
|
|||
r.Log(Error, err2.Error())
|
||||
if r.config.Output == NativeRtmp {
|
||||
r.rtmpInst.EndSession()
|
||||
r.rtmpInst = rtmp.NewRTMPSession(r.config.RtmpUrl, rtmpConnectionTimout)
|
||||
err = r.rtmpInst.StartSession()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue