thanks for the response
Originally posted by Smelter
Remove the other stream configs on that page. If your red5 has a folder called 'dist' the webapp goes in the dist/webapp folder.
you mean I need to remove this? more?
<bean id="shoutcast.stream_1" class="com.thebitstream.shoutcast.StreamConfiguration">
<property name="outputName" value="live" />
<property name="port" value="8001" />
<property name="password" value="changeme" />
and keep the shoutcast.stream_2
my shoutcast.stream_2 looks now like this: (if i got it right)
<bean id="shoutcast.stream_2" class="com.thebitstream.shoutcast.StreamConfiguration">
<property name="outputName" value="streamName" />
<property name="clientConnectionURL" value="http://xxxxxxxxx.no-ip.biz:8081/;stream.nsv" />
<property name="clientMode" value="true" />
(where xxxxxxxxx is my radio station)
i've replaced ";file.nsv" from your quote with stream.nsv because it's so in my case. shouldn't be a problem, i think.
btw, i don't have the dist folder but i placed the shoutcast (v2) folder in the webapp folder. now i have something like this:
with red5-web.xml and the others in it.
how do i connect the stream to jw player now? i have apache installed and jw player works with the mp3 version of the stream, now using red5 and this shoutcast plugin in webapps do i need to modify the jw player flashvars?
e.g. my html with the player for the (old) mp3 stream looks like this:
var s1 = new SWFObject("player.swf","ply","336","20","9","#000000");
i'm confused. do i need to place jw player in the webapp folder too? or how does this (or any other player) connect to red5
from the demos i've tested, i saw they have index.html's. and when i select one of them they show up. i supose i need to do that too and place a player in it.