fix(playout): only exclude ended file event
The webstream schedule logic seem to rely on already ended events to check if the stream running is the right one. We should not exclude these webstream events from the schedule.
This commit is contained in:
parent
348d2d81f0
commit
51378e1e6f
|
@ -81,7 +81,7 @@ class PypoPush(Thread):
|
|||
media_item = media_schedule[mkey]
|
||||
|
||||
# Ignore track that already ended
|
||||
if media_item["end"] < tnow:
|
||||
if media_item["type"] == "file" and media_item["end"] < tnow:
|
||||
logger.debug(f"ignoring ended media_item: {media_item}")
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue