radio/web player: additional HLS streams created for each station [prev. only main was supported on iOS]
This commit is contained in:
@@ -51,8 +51,10 @@ export function Player() {
|
||||
|
||||
const playStream = () => {
|
||||
let streamPath = STATIONS[activeStation].streamPath;
|
||||
if (activeStation === "main" && isIOS) {
|
||||
streamPath = "/hls/sfm.m3u8";
|
||||
if (isIOS) {
|
||||
let lcStation = activeStation.toLowerCase();
|
||||
streamPath = `/hls/${lcStation}/${lcStation}.m3u8`;
|
||||
console.log(`Replaced streamPath: ${streamPath}`);
|
||||
}
|
||||
const streamUrl =
|
||||
"https://stream.codey.lol" +
|
||||
|
Reference in New Issue
Block a user