[Red5] Re : Red5 events en SYNC
liang bowen
liangbowen at gmail.com
Mon Jan 19 04:05:32 PST 2009
i am not quite understand what you were saying, it seems you are not from
an english speaking country, me neither.
if you want to keep you sharedobject content unchanged after disconnted, you
may create a persistent sharedobject, instead of a non-persistent
sharedobject.
as uid, you can retrieve it from a successful netconnection callback, from
sharedobject sync event is not necessary.
2009/1/19 Etienne Bonnefoy <etiennebon at yahoo.fr>
> Hello,
>
> thanks for your answer.
> As far as I understood, I need to have some changes in my SharedObject in
> my second connection (I have: creation with connection then disconnection
> and then new connection with nothing happening...) in order to have the
> display of a Sync Event.
>
> Unfortunately, I only disconnect and reconnect, without changing my
> username or so on...
>
> How could I update the SharedObject without changing anything?
>
> Actually, I can see, on the server Side, that the UID of my client is
> incremented every time I reconnect. But I am not able to retrieve this UID,
> because the function: RemoteSharedObject (event.target) needs a SyncEvent to
> be called...
> So I'm facing a circle...: I need the Shared Object to get and update the
> UID of the client, but I need to Update the UID of the Client to retrieve an
> Event in order to riech the RemoteSharedObject...
>
> I unfortunately don't find the explaination in the Flash Help guide.
>
> Anyway, thanks for helping.
>
> Etienne.
>
>
> ------------------------------
> *De :* liang bowen <liangbowen at gmail.com>
> *À :* red5 at osflash.org
> *Envoyé le :* Lundi, 19 Janvier 2009, 11h36mn 19s
> *Objet :* Re: [Red5] Red5 events en SYNC
>
> you should really read the flash as help document first. read the
> sharedobject and syncevent section.
> 2009/1/19 Etienne Bonnefoy <etiennebon at yahoo.fr>
>
>> Hello,
>>
>>
>>
>> I'm using Dominick Jedai Application and I'm facing the following issue:
>>
>> For any users, I can connect, Tchat, use the Video BroadCasting...
>>
>> If I follow the code, I can figure out that there are some "SyncEvent"
>> that are displayed when connecting for the first time to the server.
>>
>> Especially, there is a SYNC event with a "ChangeList" with the 2 codes:
>> "clear" and "change" for the userList.
>>
>>
>>
>> I created a "Disconnect" Button. I can use it and disconnect from the
>> server.
>>
>>
>>
>> But when I try to reconnect, I observe that there is a "SynchEvent" for
>> the userList that is displayed. Unfortunately, the "changeList" of this
>> SyncEvent is only composed of the "clear" Code and not the "Change" code.
>>
>>
>>
>> I would like to anderstand why, actually, if anybody can enlight me on
>> this.
>>
>>
>>
>> I would like also to know, Where and When this SyncEvent is created or
>> displayed (what action created it??).
>>
>>
>>
>> Finally, I'm running my Jedai application on my lap-Top with Windows XP. I
>> am not able to run the log (I don't know how to set the logs to ON, on the
>> server side...Event if I start the application under the Debug-Mode, I don't
>> have any action displayed...). I'm not able neither to find where my shared
>> Object is stored on my computer (I would like to read it, in order to see if
>> it has been updated or not...).
>>
>> I anyone can help me on this, it would be wonderful.
>> I'm totally open to discuss on my code if necessary to anderstand my
>> issue.
>>
>> Thanks,
>>
>>
>>
>> Etienne.
>>
>>
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>
>
> --
> liangbowen
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
--
liangbowen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090119/988847d4/attachment-0001.html>
More information about the Red5
mailing list