<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre>><i> > Where should I look for an example of how to connect to Icecast from
</i>><i> > Java? (I have a MySQL/Tomcat application with MP3's in the DB and
</i>><i> > need to stream them using Java and Icecast.)
I'm stuck at the same point. I found libshout-java on the download
page: <a class="moz-txt-link-freetext" href="http://benow.ca/index?page=project&project=libshout-java">http://benow.ca/index?page=project&project=libshout-java</a>
</i><a href="http://icecast.org/download.html">libshout 0.3</a> is a deadlink, presumably pointing back to the
same page. You can download the older version (0.2). Apparently,
this requires libshout2 (the c library).
I'm using pieces from javazoom.net to parse the mp3's:
jl0.4.jar
<i>mp3spi1.9.1.jar
and build a mysql database of tag information. This "java layer"
sits on top of the Java Sound infrastructure. I believe what
I'm after is a set of java intrinsics that talk directly to the
icecast server.
I'm running jsp's and servlet's in a Tomcat container too. I
don't believe the C library fits in the picture; we need a
pure java solution.
I guess an alternative is to engage another source client on
a playlist file that we update...
I've been playing with ezstream, but have yet to get it working.
Let me know what solution you end up with.
Thanks,
kirk
</i></pre>
</body>
</html>