Replies: 6 comments 20 replies
-
|
Hi @carrzkiss,
|
Beta Was this translation helpful? Give feedback.
-
|
There seems to be a discussion on Aws stream delivery at the liquidsoap event today. I'm guessing this will have something relevant to your project in.re. Creating sources, look into dynamic sources, I think the documents and maybe the book go into this.Good luck with you project.On 30 May 2023 06:15, carrzkiss ***@***.***> wrote:
To make sure I understand this correctly.
The url to the playlist 101.asp will create a file
101.m3u8
And this file will get updated when a change is made without the need to restart the station.
Is this correct?
Also.
With the
music101 = playlist()
output.file.hls(playlist="101.m3u8"
If there are multiple stations, would I create this section multiple times for every station ID?
music101 = playlist()
output.file.hls(playlist="101.m3u8
...code
music102 = playlist()
output.file.hls(playlist="102.m3u8
Would this be correct?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
keep in mind HLS is not a standard and consequently is not supported without plugins in some web based clients. |
Beta Was this translation helpful? Give feedback.
-
|
yeh I stream both with nginx in front and cache the hls files using the standard nginx proxy cache. In an HTML audio tag you can add multiple stream sources and the browser choses the one it supports |
Beta Was this translation helpful? Give feedback.
-
|
also I install/run liquidsoap on it's own machine, icecast and nginx are on a different machines and liquidsoap can push to multiple streamers. You can hide Harbor for hls or what ever behind your nginx cache |
Beta Was this translation helpful? Give feedback.
-
|
I have a drawio svg I can paste here, but to put some context around my design, it was very much is an experiment for me and one of my main goals was to keep it cheap ( but also clean !!). Based on the cloud provider it was cheaper for me to split into a couple of low spec vms than to run a single beefed up machine. The bandwidth, cpu, io etc is fixed so I get no bill shock . I hide everything behind nginx to reduce the attack surface area. It's all in terraform so I can spin up , spin down machines as required. Load balancing tcp ( ie. icecast streaming ) with sticky sessions is really hard. A quick google suggested by IP only which won't guarantee evenly distributed traffic, or that a user retains the same IP. If you expect most of your traffic to come from web browsers then maybe HLS will work for you if you embed an HLS client in your web UI eg. https://github.com/video-dev/hls.js/ |
Beta Was this translation helpful? Give feedback.

-
Hello everyone.
I'm finally getting to the point I can start working of the liquidsoap part of the very large project.
Doing Microsoft windows servers. I deal with load balancing our web servers to make sure that traffic runs smoothly at all times.
I researched about load balancing icecast servers and could only find one resource and that is doing RR-DNS.
A lot of the forms I read, everyone talked about the icecast servers can handle 10,000 + connections at a time and only limited by its hardware and available bandwidth.
--------
Let me make a scenario, and could someone tell me the best way to handle this.
100's of radio stations
1,000s of listeners per station.
How would you handle all the traffic?
I have the server's to install multiple Linux instances with icecast/liquidsoap running.
I just need to know what needs to be done to handle potential traffic.
Thank you.
Wayne.
Beta Was this translation helpful? Give feedback.
All reactions