[icecast] Master vs Relay

Krištof Petr Kristof.P at fce.vutbr.cz
Tue May 6 02:20:49 PDT 2003



Michael Smith wrote:

>>But mountpoints must be configured by hand and are static. Is there a
>>way to relay all streams?
>>Number of streams and their names can change from time to time. How to
>>do it?
>>
>>What is the target usage of <master-server> section?
>>    
>>
>
>That's what <master-server> is for - it allows you to configure an icecast 
>server as a slave to that master - it will relay ALL streams from the master. 
>Sounds like what you want to use...
>
>  
>

OK. Im going to test it.

When I have ServerA -> ServerB
should I write config for ServerB like?:

<master-server>ServerA.some.net</master-server>
<master-server-port>8000</master-server-port>
<master-update-interval>120</master-update-interval>
<master-password>hackme</master-password>

But is falls with error show below.

It seems ServerB is unable to authenticate itself.

On ServerA I have:

<authentication>
  <source-password>hackme</source-password>
  <relay-password>hackme</relay-password>
  <master-password>hackme</master-password>
  <slave-password>hackme</slave-password>
  <admin-user>admin</admin-user>
  <admin-password>hackme</admin-password>
</authentication>

What do I do wrong?

Thank for advice
Petr

# more error.log
[2003-05-06  11:05:22] INFO main/main icecast server started
[2003-05-06  11:05:22] DBUG slave/create_relay_stream Adding source at 
mountpoint "You need to authe
nticate"
[2003-05-06  11:05:22] EROR connection/connection_create_source No 
content-type header, falling back
 to backwards compatibility mode for icecast 1.x relays. Assuming 
content is mp3.
[2003-05-06  11:05:22] DBUG source/source_main Source creation complete
[2003-05-06  11:05:22] DBUG source/source_main Disconnecting source due 
to socket read error: Succes
s
[2003-05-06  11:05:22] INFO source/source_main Removing source following 
disconnection
[2003-05-06  11:05:22] INFO source/source_main Source "You need to 
authenticate" exiting

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list