hi,

I've just started developing with red5(so pls forgive me if I talking 
about already discussed issues) and I came across the problem, that I 
need to change the folder where files for streaming are searched at runtime.
(I'm developing a community web-application where people can create 
different 'playlists'/folder for their music)

At first I followed the HowTo of creating my own 
'CustomFilenameGenerator' to be able to change the folder at all.
('Normally the folders name is hardcoded at 'DefaultFilenameGenerator').
Then I tried to do something like this:

    <bean id="streamFilenameGenerator"
          class="org.red5.server.webapp.oflaDemo.CustomFilenameGenerator">
        <property name="recordPath" value="${recordPath}" />
        <property name="playbackPath" 
value="org.red5.server.webapp.oflaDemo.DemoService.playbackPath" />
    </bean>

to tell the FilenameGenerator to ask for the 'playbackPath' at the 
DemoService class..
This wasn't working as expected, maybe(surely ;-) because the syntax or 
logic is completely wrong (as I said I'd never developed with red5 and I 
have only poor java knowledge..).

If anybody have an idea/hint to solve my problem, please tell me!! ;-)

Thanks in advance,
seut
 


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

Reply via email to