[Red5] shared object problems

snacktime snacktime at gmail.com
Sun Sep 13 15:42:30 PDT 2009


On Sun, Sep 13, 2009 at 2:39 PM, snacktime <snacktime at gmail.com> wrote:

> I'm using the latest stable build.  I have a simple shared object setup for
> setting some state between two flash clients.   Every time after the server
> is started, I always get the following message in the log and the sync
> events don't get sent correctly.  After the initial connect, it works about
> 80% of the time, failing randomly.
> [WARN] [NioProcessor-4] org.red5.server.Scope - Child scope already exists
>
> The shared objects are not persisted.   Both clients are using the same
> scope for getRemote, and that scope changes for every connection.  They
> negotiate it before setting up the remote object.
>
> Any ideas what might be going on?
>
> Chris
>
>
>
This appears to be some kind of timing bug.  Both flash clients are setting
up the remote objects at the same time.  This is the debug log when it
works:

[DEBUG] [NioProcessor-7] org.red5.server.Scope - Add child: Shared Object:
16661252881561
[DEBUG] [NioProcessor-7] org.red5.server.Scope - Add child scope: Shared
Object: 16661252881561 to [WebScope at 1d16a7f Depth = 1, Path = '/default',
Name = 'test']

and this is when it fails:

[DEBUG] [NioProcessor-6] org.red5.server.Scope - Add child: Shared Object:
16541252881539
[DEBUG] [NioProcessor-6] org.red5.server.Scope - Add child scope: Shared
Object: 16541252881539 to [WebScope at 1d16a7f Depth = 1, Path = '/default',
Name = 'test']
[DEBUG] [NioProcessor-5] org.red5.server.Scope - Add child: Shared Object:
16541252881539
[WARN] [NioProcessor-5] org.red5.server.Scope - Child scope already exists

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090913/7a12c13e/attachment.html>


More information about the Red5 mailing list