Replies: 3 comments 1 reply
-
Hi @SkillenUK I haven't tried your set up. But try this one. Seems that you lack some crutial params. You can exlude
|
Beta Was this translation helpful? Give feedback.
-
You should treat icecast as a tls+tcp stream, because every server I tried cannot handle continuous streams. So you should define a top-level stream {
server {
listen 1234 ssl;
proxy_pass liquidsoap:8000;
ssl_certificate /etc/nginx/ssl/cert.pem;
ssl_certificate_key /etc/nginx/ssl/key.pem;
}
} You should also tune the protocols and ciphers for the streams according to common security practices. I haven't tested this with butt and metadata, but ffmpeg streaming works fine. ffmpeg \
-hide_banner \
-re -f lavfi -i 'sine=frequency=200:duration=2000' \
-b:a 320k -c:a mp3 \
-f mp3 \
-tls 1 \
icecast://source:[email protected]:1234/live While researching this topic, I came across several instructions.
I can't be sure, maybe everyone else has the same problem with the http proxy, but for me the problem manifests itself like this:
|
Beta Was this translation helpful? Give feedback.
-
@vitoyucepi your suggestion has worked :) |
Beta Was this translation helpful? Give feedback.
-
After recently experiencing an issue with a harbor using ssl, it was suggested to me that I could terminate encrypted connections via nginx. So my understanding is that the Liquidsoap configuration would contain an unencrypted harbor hidden behind my firewall, then I would essentially configure a proxy pass in nginx for the client to connect to the harbor over an encrypted ssl connection.
The Liquidsoap harbor configuration would be similar to the following...
djlive = input.harbor("live",port=8010,password="hackme",buffer=2.)
The nginx config would be along the lines of...
I've been experimenting with this and I'm struggling to find an nginx configuration that works. I can connect to the harbor, but the audio stream doesn't come through.
I'm wondering if anybody has any experience of this and has successfully got it working? Could you share the nginx config which worked for you? Are there any best practices for achieving this? Thanks,
Skillen.
Beta Was this translation helpful? Give feedback.
All reactions