Matthias:

First, if persistance is set to true then the message's would all be saved, however it seems that in the fitcdemo, the chat sharedObject is just writing over the same value over and over which is the business rule for a great majority of simple chat rooms. 

However, what you need is a serverside solution.  There is no config file or simple tweak that will send the last 50k etc messages.  Your going to have to get dirty and write some code.  You can grab that sharedObject on the server and store the last 50 messages in some type of queue.  Then the next time a client connects, you could broadcast that queue down to the client. 

HTH

Dominick Accattato, CTO
New View Networks
www.newviewnetworks.com
Red5, Flex Consulting

On 9/15/06, Matthias Willerich <[EMAIL PROTECTED]> wrote:

Hello list,

Me and my flash companion here built a little shoutbox-style text chat with red5; "built" is actually exaggerated, I installed the v0.5rc1 a while ago and he used code from the fitcDemo and that's the webapp we're using right now.

On connection, we get the last message delivered, if persistence is set to true. That's all great, but could I tweak the server to send me, say, the last 5 or 10 messages? Or, whatever, the last 50k exchanged.

I'm more or less new to red5, and not a java web app expert either, but I have some servlet/jsp java experience from long time ago. I checked out the global conf/property/xml files and can't really find what I'm looking for. Then again, I'm not even sure about the terminology.

 

If it's just a property somewhere, or a line of code I'd have to change, could anyone tell me what and where,

if it's kinda complex, what should I search for to find some enlightenment?

 

Cheers,

Matthias


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to