mirror of https://bitbucket.org/ausocean/av.git
checking config instead of func
This commit is contained in:
parent
c6fb433dd5
commit
dbde36d23a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue