| View previous topic :: View next topic |
| Author |
Message |
ciprifly
Joined: 15 Oct 2008 Posts: 2
|
Posted: Wed Oct 15, 2008 8:30 pm Post subject: shoutcast relay server on icecast |
|
|
I want to know if I can do on a relay server shoutcast icecast on a server and you need to change just me and help me someone
| Code: |
<master-server>91.121.29.170</master-server>
<master-server-port>8000</master-server-port>
<master-update-interval>120</master-update-interval>
<master-password>fly</master-password> |
I did the following configuration |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Oct 15, 2008 8:44 pm Post subject: |
|
|
not like that, the master settings are to talk to a master icecast about relaying a series of streams. shoutcast has only one stream so you can use a simple <relay> section for that.
karl. |
|
| Back to top |
|
 |
ciprifly
Joined: 15 Oct 2008 Posts: 2
|
Posted: Wed Oct 15, 2008 9:35 pm Post subject: |
|
|
want to make the 8000 relay for the 7788 shoutcast on the icecast and next configuration is not working and what we did not set correctly?
| Code: |
<icecast>
<limits>
<clients>500</clients>
<sources>20</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>60</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>fly</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>fly</relay-password>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>fly</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>fly</relay-password>
<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>fly</admin-password>
</authentication>
<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>fly</admin-password>
</authentication>
<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->
!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>10.0.0.1</hostname>
<!-- You can use these two if you only want a single listener -->
<!--<port>7788</port> -->
<!--<bind-address>localhost</bind-address>-->
<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>7788</port>
<!-- <bind-address>localhost</bind-address> -->
</listen-socket><!--
<listen-socket>
<port>7789</port>
</listen-socket>
-->
<master-server>91.121.29.170</master-server>
<master-server-port>8000</master-server-port>
<master-update-interval>120</master-update-interval>
<master-password>fly</master-password>
<!-- setting this makes all relays on-demand unless overridden, this is
useful for master relays which do not have <relay> definitions here.
The default is 0 -->
<relays-on-demand>1</relays-on-demand>
<relay>
<server>91.121.29.170</server>
<port>8000</port>
<mount>/</mount>
<local-mount>/different.ogg</local-mount>
<on-demand>1</on-demand>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>
<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>10.0.0.1</hostname> |
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Oct 16, 2008 12:28 am Post subject: |
|
|
looks like a copy/paste mess, assuming you mean that this icecast runs on port 7788 then as already mentioned, the <master-*> tags make icecast talk to 91.121.29.170:8000 as if it is another icecast. The <relay> section configures an on-demand relay of http://91.121.29.170:8000/ as /different.ogg on this icecast (clearly misnamed as it won't be an ogg stream).
I'm assuming you want to drop the master tags and keep the relay but with a better local-mount. like /stream or /live or /whatever.mp3
karl. |
|
| Back to top |
|
 |
|