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)
|
bytes += len(clip)
|
||||||
for err := r.sendClip(clip); err != nil; {
|
for err := r.sendClip(clip); err != nil; {
|
||||||
r.Log(Error, err.Error())
|
r.Log(Error, err.Error())
|
||||||
if r.sendClip == r.sendClipToLibRtmp {
|
if r.config.RtmpMethod == LibRtmp {
|
||||||
reboot()
|
reboot()
|
||||||
}
|
}
|
||||||
if len(clip) >= 11 {
|
if len(clip) >= 11 {
|
||||||
|
|
Loading…
Reference in New Issue