tfabris / CrowCam

A set of Bash scripts to control and maintain a YouTube live cam from a Synology NAS.
GNU General Public License v3.0
4 stars 3 forks source link

New bouncer behavior might have a bug, or might be too sensitive. #4

Closed tfabris closed 5 years ago

tfabris commented 5 years ago

On the evening of 2019-03-18, I implemented new bouncer behavior in response to a situation where the stream was down but the network was still up.

On the following day, 2019-03-19, I noticed that the stream got reset a couple of times during the day, possibly due to the new behavior.

Old behavior: Only look at network response. New behavior: Look at network response and also use YouTube-dl to decide whether the YouTube live stream was getting any kind of an error such as the stream not being up.

My guess: YouTube-dl is sometimes throwing an error even if the stream is not totally down.

To do:

tfabris commented 5 years ago

I believe that I have fixed issue #4 by adding some hysteresis to the Test_Stream function. Closing this issue. Will reopen the issue if it recurs.