| 14 Jul 2025 |
@saiko:knifepoint.net | or does it only give you relative urls | 14:45:40 |
matthewcroughan | For some reason, the streams on the page go to icecast.foo.com and not icecast.foo.com:8000 | 14:46:50 |
matthewcroughan | whereas the administration page shows the listenurl correctly and the streams go to `icecast.foo.com:800/stream | 14:47:03 |
matthewcroughan | * whereas the administration page shows the listenurl correctly and the streams go to `icecast.foo.com:800/stream` | 14:47:05 |
matthewcroughan | * whereas the administration page shows the listenurl correctly and the streams go to icecast.foo.com:8000/stream | 14:47:11 |
n4ch723hr3r | probably some config issue | 14:47:17 |
matthewcroughan | Could be yeah | 14:47:24 |
@saiko:knifepoint.net | you might need to modify the proxy port header | 14:47:27 |
matthewcroughan | I've been looking around for examples | 14:47:31 |
matthewcroughan | I think I'll make a minimal icecast example if I ever figure this | 14:47:38 |
matthewcroughan | * I think I'll make a minimal icecast example if I ever figure this ollut | 14:47:41 |
matthewcroughan | * I think I'll make a minimal icecast example if I ever figure this out | 14:47:43 |
@saiko:knifepoint.net | it probably reacts to one of these https://github.com/NixOS/nixpkgs/blob/nixos-25.05/nixos/modules/services/web-servers/nginx/default.nix#L107 | 14:48:53 |
@saiko:knifepoint.net | (Host or X-Forwarded-Host) | 14:49:27 |
matthewcroughan | Another thing is that icecast is http 1.0 afaik | 14:49:58 |
n4ch723hr3r | also: arent those proprietary extensions to icecast against its license (GPLv2 or later) | 14:50:05 |
matthewcroughan | we enable http2 on all nginx virtualhosts by default | 14:50:14 |
Zhaofeng Li | In reply to @matthewcroughan:defenestrate.it
https://icecast.foo.com/stream doesn't work via a nginx proxy, because the stream is not http But it has to be http, right? Otherwise it won't work for the web client | 14:50:14 |
n4ch723hr3r | i looked up http/3 just now bcs i wondered that as well and found a proprietary fork/wrapper | 14:50:31 |
matthewcroughan | It isn't, and I don't know why it works | 14:50:36 |
matthewcroughan | I just know that when I proxy it, the client (nginx in that case) gets 502 bad gateway because.. | 14:50:55 |
matthewcroughan | This is the error you get | 14:51:11 |
n4ch723hr3r | also icecast development seems kind of slow | 14:54:15 |
n4ch723hr3r |  Download image.png | 14:54:26 |
n4ch723hr3r | 4 commits this year .__. | 14:54:39 |
matthewcroughan | https://hls.somafm.com/ | 14:57:51 |
matthewcroughan |
While there are many players that support HLS, many still do not support metadata display (e.g. Artist, Title).
| 14:58:02 |
n4ch723hr3r | metadata is usually done seperately via json | 14:58:34 |
n4ch723hr3r | or websockets if you want to be fancy | 14:58:46 |
matthewcroughan | I can see why people aren't bothering then | 14:58:48 |