Fix StripChat master playlist URL

This commit is contained in:
0xb00bface 2023-06-16 18:13:43 +02:00
parent c9f7fd4403
commit 97ab13891e
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ public class StripchatModel extends AbstractModel {
String streamName = jsonResponse.optString("streamName", jsonResponse.optString(""));
JSONObject viewServers = jsonResponse.getJSONObject("viewServers");
String serverName = viewServers.optString("flashphoner-hls");
String hslUrlTemplate = "https://b-{0}.doppiocdn.com/hls/{1}/master/{1}_auto.m3u8";
String hslUrlTemplate = "https://edge-hls.doppiocdn.com/hls/{1}/master/{1}_auto.m3u8";
return MessageFormat.format(hslUrlTemplate, serverName, streamName);
} else {
throw new HttpException(response.code(), response.message());