Ok interesting, i have the filename generator working for archive
recordings i guess it could work the same for streams ?
Joachim Bauch wrote:
Hi Dan,
Dan Rossi schrieb:
OH forgot one current feature request
- ability to load streams for an application, and also have different
configs for an app instance "room" to be able to map the stream location
to somewhere else on the disk / mapped local drive, so that a room
instance could load from one drive, and the main application loads from
another location etc.
you can configure different handlers for these different scopes which
should help in achieving this goal.
The sample applications have something like that in their
WEB-INF/red5-web.xml:
<bean id="web.context">...</bean>
<bean id="web.scope">
...
<property name="handler" ref="web.handler" />
<property name="contextPath" value="/myapp" />
</bean>
<bean id="web.handler">...</bean>
The "web.handler" serves from a directory "streams" (unless you
have your own filename generator).
You can extend the red5-web.xml to include
<bean id="web.roomScope">
...
<property name="handler" ref="web.roomHandler" />
<property name="contextPath" value="/myapp/room" />
</bean>
<bean id="web.roomHandler">...</bean>
Where "web.roomHandler" serves streams from a different directory
using a custom filename generator.
I'll try to write something more detailed about that over the
weekend.
Joachim
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
|
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org