Skip to content

stream.hls: remove hls-segment-stream-data option #3894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

bastimeyer
Copy link
Member

  • always stream data from unencrypted segment downloads
  • never stream data from cached initialization sections, as the
    response content can only be consumed once when stream=True
  • update --twitch-low-latency plugin argument and its description

This also fixes a bug with the previous media initialization sections (segment maps) implementation, which raises an exception when stream is set to True, as the content can only be consumed once when iterating and writing chunks to the buffer.

- always stream data from unencrypted segment downloads
- never stream data from cached initialization sections, as the
  response content can only be consumed once when stream=True
- update --twitch-low-latency plugin argument and its description
@bastimeyer bastimeyer force-pushed the session/remove-hls-segment-stream-data branch from 6fe0d58 to 1f0b987 Compare July 31, 2021 16:57
@back-to back-to merged commit ccdd84b into streamlink:master Jul 31, 2021
@bastimeyer bastimeyer deleted the session/remove-hls-segment-stream-data branch July 31, 2021 21:30
Billy2011 added a commit to Billy2011/streamlink-27 that referenced this pull request Aug 1, 2021
…#3894)

- always stream data from unencrypted segment downloads
- never stream data from cached initialization sections, as the
  response content can only be consumed once when stream=True
- update --twitch-low-latency plugin argument and its description
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.

2 participants