Keep 1 extra segment around after playlist removal (#46310)
* Keep 1 extra segment around after playlist removal * Remove segments length check
This commit is contained in:
parent
9bc3c6c130
commit
acde33dbbc
2 changed files with 4 additions and 3 deletions
|
@ -10,7 +10,8 @@ FORMAT_CONTENT_TYPE = {"hls": "application/vnd.apple.mpegurl"}
|
|||
|
||||
OUTPUT_IDLE_TIMEOUT = 300 # Idle timeout due to inactivity
|
||||
|
||||
MAX_SEGMENTS = 3 # Max number of segments to keep around
|
||||
NUM_PLAYLIST_SEGMENTS = 3 # Number of segments to use in HLS playlist
|
||||
MAX_SEGMENTS = 4 # Max number of segments to keep around
|
||||
MIN_SEGMENT_DURATION = 1.5 # Each segment is at least this many seconds
|
||||
|
||||
PACKETS_TO_WAIT_FOR_AUDIO = 20 # Some streams have an audio stream with no audio
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue