don't check for stream.m3u8 when determining stream is online; it takes a few seconds to be created when FFmpeg starts

このコミットが含まれているのは:
n9k 2021-04-13 03:59:18 +00:00
コミット e81709ba97
1個のファイルの変更0行の追加4行の削除

4
app.py
ファイルの表示

@ -312,10 +312,6 @@ def current_segment():
return None
def is_stream_online():
# If the playlist doesn't exist, return False
if not os.path.exists(SEGMENTS_M3U8):
return False
# If the pidfile doesn't exist, return False
try:
pid = open(STREAM_PIDFILE).read()