[Red5devs] Persistent scopes
John Grden
neoriley at gmail.com
Wed Jun 7 13:02:29 EDT 2006
LOL, "all I see is red head, blonde, brunnette...I don't even see the code
anymore"
;)
On 5/25/06, Joachim Bauch <jojo at struktur.de> wrote:
>
> Hi again :)
>
> Scopes are persistent now as well. By default Red5 uses FilePersistence
> for scopes (configured in "webapps/red5-default.xml", in bean
> "global.scope").
>
> Sub-Scopes always use the same class (but different instances) as their
> parent scopes, i.e. if the application uses RamPersistence, all rooms use
> RamPersistence, too. Applications use the same persistence class (again
> different instances) as the global scope.
>
> You can override the persistence class to use by adding a property
> "persistenceClass" to the "web.scope" bean in the "red5-web.xml" of
> your application.
>
> Files containing the persistence informations are stored in
> "webapps/<app>/persistence/scope/<globalName>/<app>/<room1>/<room2>.red5"
>
> Example:
> The data of the scope for "rtmp://localhost/test/one/two" is stored in
> "webapps/test/persistence/scope/default/test/one/two.red5".
>
> Attributes that should _not_ be made persistent must have a prefix of
> "IPersistable.TRANSIENT_PREFIX".
>
> Well, enough new features for today ;)
>
> Joachim
>
> _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>
--
John Grden - Blitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20060607/f6991d1a/attachment.htm
More information about the Red5devs
mailing list