Relay mount question.

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
sound selecta
Posts: 78
Joined: Tue Jan 15, 2002 4:41 am
Location: Vancouver
Contact:

Relay mount question.

Post by sound selecta » Mon Feb 01, 2016 2:20 am

I want to have a relay mount (listen.mp3) that is the main mount that all listeners will hook up to. I want this relay to hook up to a live mount (live.mp3) and then when live is not used fall back to replaying the auto mount (auto.mp3) which is the auto dj mount. I also want this mount to be listed publicly and hide the other two.


For the most part I had it working but a few odd things popped up. The replay mount would show current users but only ones that connected through the Steamcast web page at port 8000, any player connecting to a m3u file link with this in it http://play.blunt.audio/listen.mp3 would not be counted as a listener. Also was not able to get the mount listed in the directory.

This is my cfg.

SourceMount1=/live.mp3
SourceBackup1=/auto.mp3
SourceUser1=username
SourcePass1=pass
SourceUserMax1=100
SourcePublic1=no


SourceMount2=/auto.mp3
SourceUser2=username
SourcePass2=pass
SourceUserMax2=100
SourcePublic2=no

SourceMount3=/listen.mp3
SourceRelay1=play.blunt.audio:8000/live.mp3
SourcePublicRelays=yes

User avatar
Jay
Will work for food (Administrator)
Posts: 2830
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: Relay mount question.

Post by Jay » Mon Feb 01, 2016 2:40 am

Yes, that is due to the fact that you are trying to ask Steamcast to relay /live.mp3 on /live.mp3 and creating an infinite loop.

Change this line
...
SourceMount3=/listen.mp3
SourceRelay1=play.blunt.audio:8000/live.mp3
SourcePublicRelays=yes
to this
...
SourceMount3=/listen.mp3
SourceRelay3=play.blunt.audio:8000/live.mp3
SourcePublicRelays=yes
- Jay

sound selecta
Posts: 78
Joined: Tue Jan 15, 2002 4:41 am
Location: Vancouver
Contact:

Re: Relay mount question.

Post by sound selecta » Mon Feb 01, 2016 3:02 am

Jay wrote:Yes, that is due to the fact that you are trying to ask Steamcast to relay /live.mp3 on /live.mp3 and creating an infinite loop.

Change this line
...
SourceMount3=/listen.mp3
SourceRelay1=play.blunt.audio:8000/live.mp3
SourcePublicRelays=yes
to this
...
SourceMount3=/listen.mp3
SourceRelay3=play.blunt.audio:8000/live.mp3
SourcePublicRelays=yes
Nice that worked :) Now just have to test incoming live streams and fall back.

Post Reply