Adding mountpoints without kicking listeners

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
DJIronic
Posts: 16
Joined: Sat Dec 09, 2017 7:49 am

Adding mountpoints without kicking listeners

Post by DJIronic »

Hello,

we want to use the SteamCast server as a port80 proxy for our stream servers, what I want to ask you is, if we can add relays without restarting the server.

I know we can do it in the webadmin, but as we want to automate it, we really want to add it as a command.

We know how to add the stream (relay) into config, but we can't find way, how to reload the config.
We do it like this:

Code: Select all

SourceRelay7=http://server.domain.com:8005/stream
SourcePublic7=Never

Basically: We want to add mountpoints relaying stations without kicking listeners currently listening on SteamCast server.


Thank you for your time and answer :wink:
DJIronic
Posts: 16
Joined: Sat Dec 09, 2017 7:49 am

Re: Adding mountpoints without kicking listeners

Post by DJIronic »

Ok guys...is there any question for that?

Steamcast is working just fine handling all the streams, but this is a pretty big problem.. :/
User avatar
Max
Posts: 153
Joined: Fri Oct 21, 2011 1:39 am

Re: Adding mountpoints without kicking listeners

Post by Max »

You can edit the config and reload it. Just type "r" into the Steamcast window and press enter. It should reload the config.
DJIronic
Posts: 16
Joined: Sat Dec 09, 2017 7:49 am

Re: Adding mountpoints without kicking listeners

Post by DJIronic »

Yes, it works. Thank you.

btw Is it possible to rewrite all dependencies (like external javascripts) to load under https:// instead of http://? I managed to use SteamCast with NGINX and reverse proxy to server IPv6 http and https properly..but some external scripts are still loaded under plain http by the SteamCast app.
User avatar
Max
Posts: 153
Joined: Fri Oct 21, 2011 1:39 am

Re: Adding mountpoints without kicking listeners

Post by Max »

That'll be cleaned up in the future. If you have a proxy that you're using its possible for it to rewrite http to https but since you are streaming through it it wouldn't like that.
DJIronic
Posts: 16
Joined: Sat Dec 09, 2017 7:49 am

Re: Adding mountpoints without kicking listeners

Post by DJIronic »

It's not that hot, as streams are working just fine. The only problem is with external javascripts, so AAC streams cannot be played in browser (it will download playlist file) and listeners count & song title are not updating without page reload. So I think we can live with that until next update.

PS: adding IPv6 support will be nice too ;)

Thanks for your answer and time
User avatar
Max
Posts: 153
Joined: Fri Oct 21, 2011 1:39 am

Re: Adding mountpoints without kicking listeners

Post by Max »

IPv6 is already supported. If you want Steamcast to host on IPv6 just add another ServIP entry in the config. Like so...

Code: Select all

ServIP=198.50.155.189
ServIP=2607:5300:204:4133::1
Do note that you will have to restart Steamcast to change what IPs and ports its listening on.

What I was saying is some reverse proxies allow you to rewrite things in the data its passing through. CloudFlare for example has the ability to rewrite webpages from using http in their resources to https. But in future versions of Steamcast the protocol will not be specified. That will cause browsers to use whatever protocol was used to access the webpage.
DJIronic
Posts: 16
Joined: Sat Dec 09, 2017 7:49 am

Re: Adding mountpoints without kicking listeners

Post by DJIronic »

Awsome to hefe about the IPv6!

I know, I am using my own reverse proxy hosted on the same server, as the domain I must use has not DNS managed by CloudFlare.

I will try to search if it is possible to make the same function as CF has on my own NGINX server.

Thank you again for your time
Post Reply