2bc4 / twitch-hls-client

Minimal CLI client for watching/recording Twitch streams
GNU General Public License v3.0
22 stars 5 forks source link

Feature request: Support non low-latency streams #13

Closed 0xF4CED closed 1 year ago

0xF4CED commented 1 year ago

First off, thanks for this great tool!

Some streams do not have low-latency-mode available, and therefore their m3u8 files lack the #EXT-X-TWITCH-PREFETCH entries. Currently, such streams fail with: Invalid or missing prefetch URLs.

2bc4 commented 1 year ago

I think supporting this directly is currently out of scope because a non low latency stream is just a normal HLS stream, and most players already support that.

As a workaround this will now open the player with the playlist URL if the stream is not a low latency stream. Please reopen if you encounter any issues with it.

0xF4CED commented 1 year ago

The workaround works fine, thanks.