Thanks to visit codestin.com
Credit goes to github.com

Skip to content

stream.hls: refactor queue deadline logic#6734

Merged
bastimeyer merged 3 commits into
streamlink:masterfrom
bastimeyer:stream/hls/queue-deadline
Nov 23, 2025
Merged

stream.hls: refactor queue deadline logic#6734
bastimeyer merged 3 commits into
streamlink:masterfrom
bastimeyer:stream/hls/queue-deadline

Conversation

@bastimeyer

@bastimeyer bastimeyer commented Nov 22, 2025

Copy link
Copy Markdown
Member

See #6340

This deprecates --hls-segment-queue-threshold in favor of --stream-segmented-queue-deadline (and respective session option). The implementation logic remains the same and now also applied to DASH streams (not too useful here though).

The CLI argument help text should also be much more clear now.

Rename `hls-segment-queue-threshold`
to `stream-segmented-queue-deadline`
and deprecate the old session option and respective CLI argument.
- Move `check_queue_deadline()` to `SegmentedStreamWorker` base class
- Add `_queue_deadline_wait` property for subclasses to override
- Add queue deadline check to `DASHStreamWorker.iter_segments()`
  for dynamic manifests with `SegmentList` representations (polling)
@bastimeyer bastimeyer force-pushed the stream/hls/queue-deadline branch from 14b07b1 to 3769eca Compare November 23, 2025 18:59
@bastimeyer bastimeyer marked this pull request as ready for review November 23, 2025 18:59
@bastimeyer bastimeyer merged commit 64f746d into streamlink:master Nov 23, 2025
18 checks passed
@bastimeyer bastimeyer deleted the stream/hls/queue-deadline branch November 23, 2025 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant