This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
video [2022/12/01 14:53] James Sentman added system requirements |
video [2022/12/01 17:05] (current) James Sentman [Stream Stalled Handler:] as number check for string parameter |
||
---|---|---|---|
Line 99: | Line 99: | ||
on streamStalled( stallCount) | on streamStalled( stallCount) | ||
- | write log "Attempted to restore camera " & stallCount & " times." | + | write log "Attempted to restore camera " & stallCount & " times.” |
+ | if (stallCount as number) > 4 then | ||
+ | write log “running a failed camera restart" | ||
+ | -- send it a reboot, power cycle or whatever to bring it back online | ||
+ | |||
+ | end if | ||
end streamStalled | end streamStalled | ||