Fix StripChat master playlist URL
This commit is contained in:
parent
c9f7fd4403
commit
97ab13891e
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue