radio/web player: additional HLS streams created for each station [prev. only main was supported on iOS]

This commit is contained in:
2025-07-19 21:43:28 -04:00
parent c05b38e27a
commit 9e894ebecf

View File

@@ -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" +