| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Thu Feb 09, 2006 9:06 am Post subject: mount point name doesn't work if it ends in .pls |
|
|
hey, i installed icecast 2 and am trying to get it working. i have determined that regardless of what the config file says, i cannot specify a mount point such as "/listen.pls".
i have tried using both oddcast and ezstream. both clients are able to CONNECT and stream TO the server. the mount point appears in the web interface. BUT, clients are unable to connect to the stream!
if i specify the mount point "/stream", it works. if i specify "/stream.pls", it doesn't work. if i specify the mount pount "/foo" it works as well.
what gives? |
|
| Back to top |
|
 |
EvilOverlord Forum Admin


Joined: 12 Jun 2005 Posts: 177 Location: Isle of Man
|
Posted: Thu Feb 09, 2006 10:18 am Post subject: |
|
|
pls is a playlist format, not a audio stream type.
It it recommeded practice to name the stream with the appropriate extention for the codec type in use, as some listener clients rely on this to work out the format of the stream.
e.g. "/listen.mp3" for an mp3 stream, or "/listen.ogg" for a vorbis stream.
icecast will automatically generate m3u playlists for a defined mountpoint, all the listener needs to do is to add ".m3u" to the request URI.
e.g. for a mount called "/listen.mp3" the user can call "http://server:port/listen.mp3.m3u" and the playlist will be auto generated and served. N.B. this system uses the hostname as defined in the icecast.xml
If you really want to use a pls file, I suggest you create one that contains a reference to your stream e.g. "http://server:port/listen.mp3" and place this file in the icecast server webroot directory. When the user calls "http://server:port/example.pls" they will be served that file. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Feb 09, 2006 12:54 pm Post subject: |
|
|
| EvilOverlord wrote: |
e.g. "/listen.mp3" for an mp3 stream, or "/listen.ogg" for a vorbis stream.
|
this explains a lot, thank you! i saw this referenced a lot but never found anything specifically stating why
| Quote: |
If you really want to use a pls file, I suggest you create one that contains a reference to your stream e.g. "http://server:port/listen.mp3" and place this file in the icecast server webroot directory. When the user calls "http://server:port/example.pls" they will be served that file. |
OK, thanks. i was going by what shoutcast does, but you don't have to specify the mount point with it. i understand. i am not concerned with WHAT the mount point is, as long as it has an extension which is recognizable by web browsers (cough, ie)
thanks much for your help! |
|
| Back to top |
|
 |
|
|
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
|