From 0e8ee5975d596150dc7767f1030af70fee140fbb Mon Sep 17 00:00:00 2001 From: Saxon1 Date: Sat, 5 May 2018 23:33:06 +0930 Subject: [PATCH] trying not to end and start rtmp session --- revid/Revid.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/revid/Revid.go b/revid/Revid.go index 6faefacc..e3f8bd84 100644 --- a/revid/Revid.go +++ b/revid/Revid.go @@ -394,10 +394,10 @@ func (r *revid) outputClips() { // we will add some delay to slow things down until we have a connection again time.Sleep(time.Duration(sendFailedDelay) * time.Second) r.Log(Error, err2.Error()) - if r.config.Output == NativeRtmp { - r.rtmpInst.EndSession() - err = r.rtmpInst.StartSession() - } + //if r.config.Output == NativeRtmp { + //r.rtmpInst.EndSession() + //err = r.rtmpInst.StartSession() + //} } // let the ringbuffer know that we're done with the memory we grabbed when // we call ringBuffer.Get()