From dbde36d23a1b2a44b28bd7a5f3556c343cebcfc8 Mon Sep 17 00:00:00 2001 From: Saxon1 Date: Sat, 14 Apr 2018 18:31:19 +0930 Subject: [PATCH] checking config instead of func --- revid/RevidInstance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revid/RevidInstance.go b/revid/RevidInstance.go index f24b13a5..5c9fcede 100644 --- a/revid/RevidInstance.go +++ b/revid/RevidInstance.go @@ -358,7 +358,7 @@ func (r *revidInst) outputClips() { bytes += len(clip) for err := r.sendClip(clip); err != nil; { r.Log(Error, err.Error()) - if r.sendClip == r.sendClipToLibRtmp { + if r.config.RtmpMethod == LibRtmp { reboot() } if len(clip) >= 11 {