- still cant get metadata when in VOD mode
- still getting out of memory errors for large file streaming even with these tweaks

java -Xmx1000m -Xms512m -Djava.security.manager -Djava.security.policy=conf/red5.policy -cp red5.jar;conf;%CLASSPATH% org.red5.server.Standalone

- tried to set a cache so to prevent this out of memory error, with 500 elements allowed, was playing trailers located in one directory with the same filename /trailer/thefile.flv and /full/thefile.flv when playing /full/thefile.flv it was playing /trailer/thefile.flv


<bean id="object.cache" class="org.red5.server.cache.EhCacheImpl" init-method="init">
        <property name="diskStore" value="java.io.tmpdir" />
        <property name="memoryStoreEvictionPolicy" value="LFU" />
        <property name="cacheManagerEventListener"><null/></property>       
        <property name="cacheConfigs">
            <list>
                <bean class="net.sf.ehcache.config.CacheConfiguration">
                    <property name="name" value="flv.cache" />
                    <property name="maxElementsInMemory" value="500" />
                    <property name="eternal" value="false" />
                    <property name="timeToIdleSeconds" value="0" />
                    <property name="timeToLiveSeconds" value="0" />
                    <property name="overflowToDisk" value="false" />
                    <property name="diskPersistent" value="false" />
                </bean>           
            </list>
        </property>
    </bean>    


I forgot to revert back to 0.5 last night and everything was screwed up again today, streams, accepts connections, just no large file streaming and streaming the wrong files from cache.

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

Reply via email to