[Red5] Creating Red5 Applications - In Laymans Terms

Andy Shaules bowljoman at hotmail.com
Fri Sep 11 08:19:36 PDT 2009


typo

<bean id="web.handler"
     class="org.red5.server.adapter.MultiThreadedApplicationAdapterw"
  singleton="true" />


'org.red5.server.adapter.MultiThreadedApplicationAdapterw'


----- Original Message ----- 
From: "Wasim K" <wasim.khamlichi at me.com>
To: <Red5 at osflash.org>
Sent: Friday, September 11, 2009 8:16 AM
Subject: Re: [Red5] Creating Red5 Applications - In Laymans Terms


>
> Just tried it both with and without the "/" and still no luck
>
> For reference, here is both my web.xml and red5-web.xml files to see if I
> have done something wrong.
>
> Thanks
>
> ----- web.xml ------
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <web-app
>   xmlns="http://java.sun.com/xml/ns/j2ee"
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
>   version="2.4">
>
>    <display-name>myFlashStore</display-name>
>
> <context-param>
> <param-name>webAppRootKey</param-name>
> <param-value>/myflashstore</param-value>
> </context-param>
>
>    <listener>
>
> <listener-class>org.red5.logging.ContextLoggingListener</listener-class>
>    </listener>
>
>    <filter>
>        <filter-name>LoggerContextFilter</filter-name>
>        <filter-class>org.red5.logging.LoggerContextFilter</filter-class>
>    </filter>
>
>    <filter-mapping>
>        <filter-name>LoggerContextFilter</filter-name>
>        <url-pattern>/*</url-pattern>
>    </filter-mapping>
>
>   <servlet>
> <servlet-name>rtmpt</servlet-name>
> <servlet-class>org.red5.server.net.rtmpt.RTMPTServlet</servlet-class>
> <load-on-startup>1</load-on-startup>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>rtmpt</servlet-name>
> <url-pattern>/fcs/*</url-pattern>
> </servlet-mapping>
>
> <servlet-mapping>
> <servlet-name>rtmpt</servlet-name>
> <url-pattern>/open/*</url-pattern>
> </servlet-mapping>
>
> <servlet-mapping>
> <servlet-name>rtmpt</servlet-name>
> <url-pattern>/close/*</url-pattern>
> </servlet-mapping>
>
> <servlet-mapping>
> <servlet-name>rtmpt</servlet-name>
> <url-pattern>/send/*</url-pattern>
> </servlet-mapping>
>
> <servlet-mapping>
> <servlet-name>rtmpt</servlet-name>
> <url-pattern>/idle/*</url-pattern>
> </servlet-mapping>
>
>    <security-constraint>
>        <web-resource-collection>
>            <web-resource-name>Forbidden</web-resource-name>
>            <url-pattern>/streams/*</url-pattern>
>        </web-resource-collection>
>        <auth-constraint/>
>    </security-constraint>
>
> </web-app>
>
>
>
> ---- red5-web.xml ------
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
> "http://www.springframework.org/dtd/spring-beans.dtd">
> <beans>
>
> <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="/myflashstore" />
> <property name="virtualHosts" value="localhost" />
> </bean>
>
> <bean id="web.handler"
>     class="org.red5.server.adapter.MultiThreadedApplicationAdapterw"
> singleton="true" />
>
>
> </beans>
>
>
>
>
>
> Richard Alam wrote:
>>
>> how do you connect to your app? rtmp://yourserver/myflashstore/ or
>> rtmp://yourserver/myflashstore ?
>>
>> Not sure if the / in "myflashstore/" makes a difference.
>>
>> R
>>
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Creating-Red5-Applications---In-Laymans-Terms-tp25390278p25402932.html
> Sent from the Red5 - English mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
> 




More information about the Red5 mailing list