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: New codecs in `supported_codecs` usher param #28

Closed brian6932 closed 6 months ago

brian6932 commented 6 months ago

If supported_codecs isn't set, you'll get h264, but as of Jan 8th, 2023, Twitch has added the ability to stream with 2 additional codecs h265 and av1 (in chromium: &supported_codecs=av1,h265,h264). If a stream uses any of the new codecs, and supported_codecs has to be set accordingly, or else you can't get source. I think it's probably best to enable all by default, but have some exclusion/override config, as a user may not want av1 or h265. There was a streamer r0dn3y who had it earlier today, not sure of others.