seut wrote:
> 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..).
>
>
forgot to mention that its surely not working, because the
'CustomFilenameGenerator' is instantiated at the server startup, so
before my testing app....
so my question is more, how could this be implemented at all (in a
different way) ??
after I've searched the red5 sources where 'IStreamFilenameGenerator' is
used I've only found one occurrence at 'ClientBroadcastStream.saveAs'
and this code seems to be responsible for saving an stream (like the
method name is saying ;-).
(there have to be some place where the generatedFilename's playback
scope is requested for playing files....where is it?)
so I really don't know how I could implement this at the moment.....
seut
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org