[icecast] streaming in stead of downloading

Geoff Shang gshang at uq.net.au
Sun Jun 15 14:19:19 UTC 2003



Hi:

You need to make a .pls or .m3u file with the URL to the stream in it and
link that from your website.  M3U files just have the URL to your stream in
them, for example:

http://server:8000/yourstream.ogg

Just put this single line in a .M3U file, and then link to it from your
website like so:

<A HREF="yourstream.m3u">Click here to listen</A>

PLS files are a bit more complicated and look like this:

[playlist]
File1=http://server:port/yourstream.ogg
Title1=Your stream title
Length1=-1
NumberOfEntries=1
Version=2

Again, you just link to a file like this as shown above.

Also note that icecast2 has the built-in ability to auto-generate .M3U
files for the streams it serves.  Simply link to
http://server:port/yourstream.ogg.m3u and, providing the hostname element
is set correctly  in the config file, an M3U file will be returned with the
specified stream.

Geoff.
 -- Geoff Shang <gshang at uq.net.au> ICQ number 43634701

Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

--- >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