!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

895 Members
Declaratively manage your switching, routing, wireless, tunneling and more.260 Servers

Load older messages


SenderMessageTime
14 Jul 2025
@n4ch723hr3r:nope.chatn4ch723hr3rhttps://gist.github.com/virtadpt/94eb781cba3ec9c56a4f39ef6bf760f314:32:20
@matthewcroughan:defenestrate.itmatthewcroughanhttps://brainmelter.brockman.news/14:32:20
@matthewcroughan:defenestrate.itmatthewcroughanSpecifically I'm not, I'm failing14:32:40
@matthewcroughan:defenestrate.itmatthewcroughanonly the html web page on 8000 is working, the stream doesn't14:32:51
@n4ch723hr3r:nope.chatn4ch723hr3rwtf is that audio14:32:59
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/krebs/brainmelter/tree/main14:33:13
@matthewcroughan:defenestrate.itmatthewcroughanWait so once again, if I'm gonna use HLS, what am I using instead of icecast?14:34:03
@n4ch723hr3r:nope.chatn4ch723hr3rFFMPeg?14:34:25
@saiko:knifepoint.net@saiko:knifepoint.net
In reply to @matthewcroughan:defenestrate.it
It is a combination of http and tcp
ah right, it had both.. I remember having it working back then but this was years ago so I forgot
14:34:32
@matthewcroughan:defenestrate.itmatthewcroughanCan I just use nginx itself?14:34:32
@n4ch723hr3r:nope.chatn4ch723hr3ri would probably just script something small myself xD14:35:03
@n4ch723hr3r:nope.chatn4ch723hr3rnginx to host the HLS stream where the HLS file gets regularily updated14:35:35
@matthewcroughan:defenestrate.itmatthewcroughanSo let's say I want to make a player and embed this onto a webpage, how do I do things like setting the max listeners, and stuff14:35:54
@matthewcroughan:defenestrate.itmatthewcroughanis that responsibility now going to nginx?14:36:08
@n4ch723hr3r:nope.chatn4ch723hr3ryeah, you can set a bucket for maximum http requests14:36:36
@n4ch723hr3r:nope.chatn4ch723hr3ror maximum IPs14:36:47
@n4ch723hr3r:nope.chatn4ch723hr3rif you cant you would just have to code up something yourself xD14:37:01
@n4ch723hr3r:nope.chatn4ch723hr3rthats how i would do it at least :314:37:14
@zhaofeng:zhaofeng.liZhaofeng LiHmm wait, so the http stream used by the listener can be proxied right? Is it just the source that's problematic?14:38:02
@n4ch723hr3r:nope.chatn4ch723hr3rthe problem with icecast is that, for whatever reason, it uses the same port for http as it does for raw TCP streams14:38:46
@matthewcroughan:defenestrate.itmatthewcroughanIt's the fact that icecast wants to do what nginx is doing yes14:39:03
@matthewcroughan:defenestrate.itmatthewcroughanputting an nginx in front of icecast who wants to be in control of all this stuff, makes it a PITA14:39:27
@matthewcroughan:defenestrate.itmatthewcroughanI don't doubt it can be done, I just don't know how, and it seems like a waste of time14:39:44
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @n4ch723hr3r:nope.chat
the problem with icecast is that, for whatever reason, it uses the same port for http as it does for raw TCP streams
Can the listener use the nginx-proxied endpoint, while the streamer accesses icecast directly over wireguard or whatever
14:40:33
@matthewcroughan:defenestrate.itmatthewcroughanthe listener is a http webpage14:40:59
@n4ch723hr3r:nope.chatn4ch723hr3rmatthew wants to have a public webradio, so VPNs, etc. wont work14:41:31
@matthewcroughan:defenestrate.itmatthewcroughanyou go to https://foo.com, inside is a html element pointing to https://icecast.foo.com/stream 14:41:39
@matthewcroughan:defenestrate.itmatthewcroughan https://icecast.foo.com/stream doesn't work via a nginx proxy, because the stream is not http 14:42:00
@matthewcroughan:defenestrate.itmatthewcroughanthis works on the lan though, when not proxied14:42:11
@n4ch723hr3r:nope.chatn4ch723hr3rthe best example domain is example.com or example.org (its an official example domain)14:42:14

Show newer messages


Back to Room ListRoom Version: 6