Hello Everyone,

I've followed the instructions in a number of posts, but so far have only
succeeeded in streaming using port 8080 and 1935.

I've been trying to get Red5 to stream over port 80 with RTMPT.  I'm using
the following:
Fedora Core 4 x64
Apache 2.0.54
Apache Tomcat 6.0.14
JVM Version 1.6.0_03-b05
mod_proxy to send tomcat requests over port 80
mod_jk to proxy ajp

Here's some exerpts from my httpd.conf:

JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"

<VirtualHost my.ip.add.ress:80>

        ServerName my.server.com
        SSLEngine off
        DocumentRoot /var/www/html
        DirectoryIndex index.php index.html index.py index.htm
        LogLevel debug
        HostNameLookups off
        CustomLog /var/log/httpd/access/access_log
        ErrorLog /var/log/httpd/error_log
        Redirect permanent /stats.html
http://www.aastest.com/awstats/awstats.pl?config=my.server.com

</VirtualHost>

<VirtualHost *:80>
       ServerName red5
        DocumentRoot /opt/tomcat/webapps
       JkMount /* tomcat1
        <Directory "/">
                Options Indexes MultiViews
                AllowOverride None
                Allow From All
        </Directory>

       <Location "WEB-INF">
               AllowOverride None
               Deny From All
       </Location>

       DirectoryIndex index.html index.jsp

</VirtualHost>


and some exerpts from my server.xml:

<Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />

<Connector port="${ajp.port}" protocol="AJP/1.3" redirectPort="8443" />

<Host name="red5"
                unpackWARs="true" autoDeploy="true"
                 xmlValidation="false" xmlNamespaceAware="false">

                <Context path=""
                        docBase="${catalina.home}/webapps/red5"
                        reloadable="true">
                </Context>
      </Host>


my workers.properties file:

worker.list=tomcat1
worker.tomcat1.type=ajp13
worker.tomcat1.host=localhost
worker.tomcat1.port=8009
worker.tomcat1.connection_pool_size=150
worker.tomcat1.connection_pool_timeout=600
worker.tomcat1.socket_keepalive=1


Finally, in the /opt/tomcat/webapps/red5/WEB-INF/classes directory I have
a file called oflaDemo-web.xml:

<?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/schema/beans/spring-beans-2.0.xsd
                           http://www.springframework.org/schema/lang
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd";>

        <!-- oflaDemo web context -->
        <bean id="web.context.oflaDemo" class="org.red5.server.Context">
                <property name="scopeResolver" ref="red5.scopeResolver" />
                <property name="clientRegistry"
ref="global.clientRegistry" />
                <property name="serviceInvoker"
ref="global.serviceInvoker" />
                <property name="mappingStrategy"
ref="global.mappingStrategy" />
        </bean>

        <bean id="web.scope.oflaDemo" 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.oflaDemo" />
                <property name="handler" ref="web.handler.oflaDemo" />
                <property name="contextPath" value="/oflaDemo" />
                <property name="virtualHosts"
value="*,localhost,my.ip.add.ress,localhost:8080,
my.ip.add.ress:8080,127.0.0.1:8080" />
        </bean>

        <bean id="web.handler.oflaDemo"
class="org.red5.server.webapp.oflaDemo.Application"/>

    <bean id="demoService.service"
class="org.red5.server.webapp.oflaDemo.DemoService" lazy-init="true"
/>

</beans>

-----

Any help is greatly appreciated.

Thanks,
Larry


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to