Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

shoutcast relay server on icecast

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
ciprifly



Joined: 15 Oct 2008
Posts: 2

PostPosted: Wed Oct 15, 2008 8:30 pm    Post subject: shoutcast relay server on icecast Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Oct 15, 2008 8:44 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
ciprifly



Joined: 15 Oct 2008
Posts: 2

PostPosted: Wed Oct 15, 2008 9:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Oct 16, 2008 12:28 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber