View Single Post
Old 12th January 2010, 01:47   #227
Medox
Junior Member
 
Medox's Avatar
 
Join Date: Dec 2006
Posts: 18
still not working.
should the shoutcast server show a client/user after red5 starts up, or just after i press play on jw player?

e.g.
rtmp://xxxxxxxxxxx.no-ip******oflaDemo/DarkKnight.flv works
but rtmp://xxxxxxxxxxx.no-ip******shoutcast doesn't. no sound and no reaction in shoutcast server at all.
neither rtmp://xxxxxxxxxxx.no-ip******shoutcast/;stream.nsv

could you please tell me the rutine for this?
i mean something like:
starting shoutcast server
starting winamp with shoutcast dsp that connects to the server (and shows that data is sent -- aac+ stream)
starting red5
accessing rtmp://............./shoutcast via jw player or whatever. (for confirmation)

something like this.

p.s. my red5-web.xml looks like this:

Quote:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:lang="http://www.springframework.org/schema/lang"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schem...-beans-2.0.xsd
http://www.springframework.org/schema/lang http://www.springframework.org/schem...g-lang-2.0.xsd">

<bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="/WEB-INF/red5-web.properties" />
</bean>
<bean id="web.context" class="org.red5.server.Context"
autowire="byType" />

<bean id="web.scope" class="org.red5.server.WebScope"
init-method="register">
<property name="server" ref="red5.server" />
<property name="parent" ref="global.scope" />
<property name="context" ref="web.context" />
<property name="handler" ref="web.handler" />
<property name="contextPath" value="${webapp.contextPath}" />
<property name="virtualHosts" value="${webapp.contextPath}" />

</bean>
<bean id="web.handler" class="com.thebitstream.shoutcast.Application" >
<property name="serverPorts">
<list>


<bean id="shoutcast.stream_2" class="com.thebitstream.shoutcast.StreamConfiguration">
<property name="outputName" value="test" />
<property name="clientConnectionURL" value="http://127.0.0.1:8080/;stream.nsv" />
<property name="clientMode" value="true" />
</bean>

</list>
</property>
</bean>
</beans>
to test the stream i usually start another winamp instance and open the url xxxxxx.no-ip.biz:8080, if this helps.
Medox is offline   Reply With Quote