Skip to content

Commit b04ab05

Browse files
committed
Fix auto quality
1 parent 29cbd7c commit b04ab05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/perflyst/twire/tasks/GetStreamURL.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class GetStreamURL(
7676
}
7777

7878
var streamUrl =
79-
(if (isLive) "https://usher.ttvnw.net/api/channel/hls/$channelOrVod.m3u8" else "https://usher.ttvnw.net/vod/$channelOrVod") +
79+
("https://usher.ttvnw.net/${if (isLive) "api/channel/hls" else "vod"}/$channelOrVod.m3u8") +
8080
"?player=twitchweb&" +
8181
"&token=${safeEncode(token)}" +
8282
"&sig=$signature" +

0 commit comments

Comments
 (0)