[Red5devs] Multiuser chat

Pantaleo de Pinto depinto.pantaleo at gmail.com
Fri Sep 5 04:26:49 PDT 2008


Well, i have installed the flex plugin for eclipse for trying to execute the
sample chat. It works fine, but if i try to execute two clients and then i
close one of them, the flash player shows me this message error:

ReferenceError: Error #1069: Impossibile trovare la proprietà data su
builtin.as$0.MethodClosure e nessun valore predefinito presente.
    at
jedai.controls.flex.data::UserList/onSync()[/Users/dominickaccattato/Documents/workspace/jedai/JedaiLib/src/jedai/controls/flex/data/UserList.as:170]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
jedai.net.rpc::RemoteSharedObject/onSync()[/Users/dominickaccattato/Documents/workspace/jedai/JedaiLib/src/jedai/net/rpc/RemoteSharedObject.as:115]

the reasons why it appears is evident because the path
/Users/dominickaccattato/Documents/workspace/jedai/JedaiLib/src/jedai/net/rpc
doesn't exists on my pc, but i don't understand why that path is used. I
have to apply some changes on the client side code?

Another problem is the next:
i have tried to modify the source code of the server side by modifying the
connect method; in particular i have replaced the existing code with:
rejectClient("REJECTED");
           return false;

but despite of that, the application works as if i never had modified the
source code.

2008/9/5 Pantaleo de Pinto <depinto.pantaleo at gmail.com>

> Ok Dominick,
> thank you for all. i'll make some tests and i'll warm you about them.
>
> Pantaleo
>
> 2008/9/4 Dominick Accattato <daccattato at gmail.com>
>
> i know that we were trying to make sure there were no Flex dependencies
>> outside of the Flex component set.  However, I can't be 100% sure about this
>> yet.  It's still beta.
>>
>>
>> On Thu, Sep 4, 2008 at 6:21 AM, Pantaleo de Pinto <
>> depinto.pantaleo at gmail.com> wrote:
>>
>>> Maybe i have understand better how to work with jedai. The only question
>>> that i have now is if i can develop the client side application directly
>>> with flash using the jedai library.
>>>
>>> 2008/9/4 Pantaleo de Pinto <depinto.pantaleo at gmail.com>
>>>
>>> Hi Dominick,
>>>> thanks a lot for the suggestions. I have installed the red5 plugin for
>>>> Eclipse. I have some question about it:
>>>> - does the framework allow to develop the client side, too?
>>>> - where i can find the client side code of the sample? I need the Flex
>>>> Builder to take a look to it?
>>>>
>>>> Best regard,
>>>> Pantaleo
>>>>
>>>> 2008/9/3 Dominick Accattato <daccattato at gmail.com>
>>>>
>>>> Pantaleo:
>>>>>
>>>>> Use Jedai: ( jedai.googlecode.com )
>>>>> Use the Red5Plugin: (
>>>>> http://www.newviewnetworks.com/nvnhome/blog/client/?p=35 )
>>>>>
>>>>> if you watch that video, I show you how to build such an application in
>>>>> about 1 minute.  Granted there are bugs, but I'm working hard to make the
>>>>> domain of real-time communications easier to understand and build.
>>>>>
>>>>> On Wed, Sep 3, 2008 at 11:54 AM, Pantaleo de Pinto <
>>>>> depinto.pantaleo at gmail.com> wrote:
>>>>>
>>>>>> Hi everyone!
>>>>>> I'm trying to implement a multiuser chat using Red5 with Java and
>>>>>> Flash, but i need some code samples for trying to understand how to design
>>>>>> and implementing a good multiuser chat with several functions. I have took a
>>>>>> look on the source code of the samples but on the server side nothing is
>>>>>> made! All uses the SharedObject class for the text part of the chat, but
>>>>>> what about other functionality as, for example, the list of the connected
>>>>>> users? I think that i can do it using the classes Client, ClientList,
>>>>>> ClientRegistry...but i have no idea of how to use them.
>>>>>> Does anybody help me?
>>>>>> Thanks,
>>>>>>
>>>>>> LeLLuMe
>>>>>>
>>>>>> P.s.: i'm sorry because of my bad "italian" english  :D
>>>>>>
>>>>>> _______________________________________________
>>>>>> Red5devs mailing list
>>>>>> Red5devs at osflash.org
>>>>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Dominick Accattato, CTO
>>>>> Infrared5 Inc.
>>>>> www.infrared5.com
>>>>>
>>>>> _______________________________________________
>>>>> Red5devs mailing list
>>>>> Red5devs at osflash.org
>>>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Red5devs mailing list
>>> Red5devs at osflash.org
>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>
>>>
>>
>>
>> --
>> Dominick Accattato, CTO
>> Infrared5 Inc.
>> www.infrared5.com
>>
>> _______________________________________________
>> Red5devs mailing list
>> Red5devs at osflash.org
>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080905/f989bf93/attachment-0001.html 


More information about the Red5devs mailing list