[icecast] Problems streaming just one file, yet /default works fine.
jw at centraltexasit.com
Mon Aug 26 23:29:57 UTC 2002
-----BEGIN PGP SIGNED MESSAGE-----
We are needing to use icecast to stream a single mp3 _from_the_beginning_ of the file.
Using Icecast and Shout, everything works fine, the problem with that is that when you conenct to /default you start listening at whatever point shout is currently playing at.
This is not satisfactory at all, the stream must start at the beginning of the file each time a listener click a link to it.
The help documentation says that what I am trying to do can be done:
# Static files (http support)
There is support in icecast for streaming files directory from the server to the client.
All files must end in .mp3, and they must all be in the file tree rooted at a directory specified with the static_dir variable.
<I did that>
This directory corresponds to the virtual directory http://server:port/file/.
So a file named stream.mp3 in the static_dir directory can be accessed through a http request (in a browser or mp3 player or whatever) with the url http://server:port/file/stream.mp3.
Ok, but when actually click on <a href="http://<myserver">http://<myserver</a>>:8000/file/, instead of streaming the file I get sent to
which does not stream, but instead the browser starts downloading it.
I have also tried making a link in a page to <a href="http://<myserver">http://<myserver</a>>:8000//file/king_audio_6.6meg.mp3 and pasting that directly into a browser
What happens then is the browser starts downloading the file again, instead of sending it to the media player (which it does correctly when we hit /default)
More interesting, we noticed the download says "king_audio_6.6meg.mpga" instead of .mp3. `
Why is icecast setting the mime type to mpga?
By the way we have tried ths on Windows and Linux, Netscape Mozilla nd IE, all with the same results.
At any rate, all that matters is that we find a way to _stream_ (not download) a file _from the beginning_ of the file.
Any ideas what I need to change to get this working right?
Cedar Creek Software http://www.cedarcreeksoftware.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
--- >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