checking config instead of func

This commit is contained in:
Saxon1 2018-04-14 18:31:19 +09:30
parent c6fb433dd5
commit dbde36d23a
1 changed files with 1 additions and 1 deletions

View File

@ -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 {