Skip to content

Commit

Permalink
Use https for usher
Browse files Browse the repository at this point in the history
  • Loading branch information
samfundev committed Aug 8, 2024
1 parent bb73cad commit 72b227c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected LinkedHashMap<String, Quality> doInBackground(String... params) {
e.printStackTrace();
}

String streamUrl = String.format("http://usher.ttvnw.net/api/channel/hls/%s.m3u8" +
String streamUrl = String.format("https://usher.ttvnw.net/api/channel/hls/%s.m3u8" +
"?player=twitchweb&" +
"&token=%s" +
"&sig=%s" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected LinkedHashMap<String, Quality> doInBackground(String... params) {
e.printStackTrace();
}

String vodURL = String.format("http://usher.ttvnw.net/vod/%s?allow_source=true&nauthsig=%s&nauth=%s", vodId, signature, Utils.safeEncode(token));
String vodURL = String.format("https://usher.ttvnw.net/vod/%s?allow_source=true&nauthsig=%s&nauth=%s", vodId, signature, Utils.safeEncode(token));
Log.d(LOG_TAG, "HSL Playlist URL: " + vodURL);
return parseM3U8(vodURL);
}
Expand Down

0 comments on commit 72b227c

Please sign in to comment.