Hi all: Now I know the way share object to notify all client user online,and all user can receive the message anyone send, but a question bother me a long time about how can I send a message go through red5 sever to one person online , and we establish new shareobject for these two person? I do not think so, but how can I do? Can anyone tell me the way to solve my problem? Maybe sample code for me is better! Thks all
-----邮件原件----- 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代表 [EMAIL PROTECTED] 发送时间: 2006年5月25日 0:00 收件人: [email protected] 主题: Red5 Digest, Vol 9, Issue 98 Send Red5 mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://osflash.org/mailman/listinfo/red5_osflash.org or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Red5 digest..." Today's Topics: 1. Re: sendMessage bug? (Joachim Bauch) 2. Re: sendMessage bug? (Dominick Accattato) 3. Re: sendMessage bug? (Dominick Accattato) 4. Re: sendMessage bug? (Joachim Bauch) ---------------------------------------------------------------------- Message: 1 Date: Wed, 24 May 2006 13:51:07 +0200 From: Joachim Bauch <[EMAIL PROTECTED]> Subject: Re: [Red5] sendMessage bug? To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="windows-1252" Hi Dominick, Dominick Accattato wrote: > Tom, you point out some valid points. SharedObject.sendMessage() should > send that message to all clients connected to that sharedObject. > > which version of Red5 are you using? He's using the trunk as "so.addSharedObjectListener" is not available in 0.4.1 ;) I'm assuming there might be some scope issue with the server and the clients connecting to the SOs at different scopes and thus getting different SOs. Joachim -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4355 bytes Desc: S/MIME Cryptographic Signature Url : http://osflash.org/pipermail/red5_osflash.org/attachments/20060524/578ed184/ smime-0001.bin ------------------------------ Message: 2 Date: Wed, 24 May 2006 09:21:27 -0400 From: "Dominick Accattato" <[EMAIL PROTECTED]> Subject: Re: [Red5] sendMessage bug? To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" gotcha! On 5/24/06, Joachim Bauch <[EMAIL PROTECTED]> wrote: > > Hi Dominick, > > Dominick Accattato wrote: > > Tom, you point out some valid points. SharedObject.sendMessage() should > > send that message to all clients connected to that sharedObject. > > > > which version of Red5 are you using? > > He's using the trunk as "so.addSharedObjectListener" is not available in > 0.4.1 ;) I'm assuming there might be some scope issue with the server and > the clients connecting to the SOs at different scopes and thus getting > different SOs. > > Joachim > > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20060524/43758a6f/ attachment-0001.htm ------------------------------ Message: 3 Date: Wed, 24 May 2006 09:22:57 -0400 From: "Dominick Accattato" <[EMAIL PROTECTED]> Subject: Re: [Red5] sendMessage bug? To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" I was wondering because in 0.4.1, there is no method with the signature getSharedObject(scope,"flashSO"); only getSharedObject(String name); ;) On 5/24/06, Dominick Accattato <[EMAIL PROTECTED]> wrote: > > gotcha! > > On 5/24/06, Joachim Bauch <[EMAIL PROTECTED]> wrote: > > > Hi Dominick, > > Dominick Accattato wrote: > > Tom, you point out some valid points. SharedObject.sendMessage () > should > > send that message to all clients connected to that sharedObject. > > > > which version of Red5 are you using? > > He's using the trunk as "so.addSharedObjectListener" is not available in > 0.4.1 ;) I'm assuming there might be some scope issue with the server and > the clients connecting to the SOs at different scopes and thus getting > different SOs. > > Joachim > > > > _______________________________________________ > > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20060524/64d0841f/ attachment-0001.htm ------------------------------ Message: 4 Date: Wed, 24 May 2006 16:05:45 +0200 From: Joachim Bauch <[EMAIL PROTECTED]> Subject: Re: [Red5] sendMessage bug? To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hi Dominick, Dominick Accattato wrote: > I was wondering because in 0.4.1, there is no method with the signature > getSharedObject(scope,"flashSO" ); > > only > > getSharedObject(String name ); yep, that was part of the new implementation of the SO-Service in the trunk I told you yesterday. The SO-Service is a singleton in the trunk, configured in a bean and can be used for every scope, thus the scope is passed as parameter to it. Joachim -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4355 bytes Desc: S/MIME Cryptographic Signature Url : http://osflash.org/pipermail/red5_osflash.org/attachments/20060524/accc46f4/ smime-0001.bin ------------------------------ _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org End of Red5 Digest, Vol 9, Issue 98 ***********************************
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
