[Icecast] relay streaming m3u

Clement Cavadore clement at cavadore.net
Thu Aug 23 21:13:25 UTC 2007


Hi,

On Thu, 2007-08-23 at 22:12 +0300, Victor Sterpu wrote:
> I use icecast 2.3.1.
> Can I relay something like this with icecast 
> http://www.radiototal.ro/live/radio-total-128kbps.m3u?
> If I can, can you please give an example how to do it?

According to the contents of your .m3u, the server's URL is:
http://radiototal.evolva.ro:8128/live

> I tryed this:
>     <relay>
>             <server>www.radiototal.ro</server>
>             <port>80</port>
>             <mount>/live/radio-total-128kbps</mount>
>             <local-mount>/total</local-mount>
>             <relay-shoutcast-metadata>1</relay-shoutcast-metadata>
>             <on-demand>0</on-demand>
>     </relay>

You have to set up the <relay> section like this:

    <relay>
            <server>www.radiototal.ro</server>
            <port>8128</port>
            <mount>/live</mount>
            <local-mount>/total</local-mount>
            <relay-shoutcast-metadata>1</relay-shoutcast-metadata>
            <on-demand>0</on-demand>
    </relay>

The m3u is just a playlist. As far as I know, Icecast is not able to
parse a m3u file (that would be a good feature for newer versions), so
you have to specify the three informations: Server / Port / Mount in
order to relay a stream. In the case of an Icecast relaying a Shoutcast,
the mount section is /

Regards,

Clément Cavadore




More information about the Icecast mailing list