Skip to content

Commit

Permalink
Inform Twitch that we support h265
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Dec 26, 2024
1 parent f691ad8 commit aeed002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TwitchDownloaderCore/TwitchHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static async Task<string> GetVideoPlaylist(long videoId, string token, st
{
request = new HttpRequestMessage()
{
RequestUri = new Uri($"https://usher.ttvnw.net/vod/{videoId}.m3u8?sig={sig}&token={token}&allow_source=true&allow_audio_only=true&platform=web&player_backend=mediaplayer&playlist_include_framerate=true&supported_codecs=av1,h264"),
RequestUri = new Uri($"https://usher.ttvnw.net/vod/{videoId}.m3u8?sig={sig}&token={token}&allow_source=true&allow_audio_only=true&platform=web&player_backend=mediaplayer&playlist_include_framerate=true&supported_codecs=av1,h265,h264"),
Method = HttpMethod.Get
};
response = await httpClient.SendAsync(request);
Expand All @@ -77,7 +77,7 @@ public static async Task<string> GetVideoPlaylist(long videoId, string token, st
{
request = new HttpRequestMessage()
{
RequestUri = new Uri($"https://twitch-downloader-proxy.twitcharchives.workers.dev/{videoId}.m3u8?sig={sig}&token={token}&allow_source=true&allow_audio_only=true&platform=web&player_backend=mediaplayer&playlist_include_framerate=true&supported_codecs=av1,h264"),
RequestUri = new Uri($"https://twitch-downloader-proxy.twitcharchives.workers.dev/{videoId}.m3u8?sig={sig}&token={token}&allow_source=true&allow_audio_only=true&platform=web&player_backend=mediaplayer&playlist_include_framerate=true&supported_codecs=av1,h265,h264"),
Method = HttpMethod.Get
};
response = await httpClient.SendAsync(request);
Expand Down

0 comments on commit aeed002

Please sign in to comment.