[Red5devs] I can't destroy the room

Walter Tak walter at waltertak.com
Wed Jun 18 09:25:48 PDT 2008


I probably misread the stop() function being a method of Iscope but according to the docs it's a function the the adapter itself :

void MultiThreadedApplicationAdapter.stop(IScope scope) 
          Stops scope handling (that is, stops application if given scope is app level scope and stops room handling if given scope has lower scope level).  

void ApplicationAdapter.stop(IScope scope) 
          Stops scope handling (that is, stops application if given scope is app level scope and stops room handling if given scope has lower scope level).


Btw I never bother to look in my logs for a roomstop event but here is my output:

2008-06-18 18:20:16,953 [pool-4-thread-16] INFO  n.w.red5.videochat.Application - [F] roomLeave: id=[0] room=[/room_8d6b810794a7ca3aa1a09dad1a3e6278]
2008-06-18 18:20:16,953 [pool-4-thread-16] INFO  n.w.red5.videochat.Application - [F] roomLeave: user_type=[performer]
2008-06-18 18:20:16,953 [pool-4-thread-16] INFO  n.w.red5.videochat.Application - [F] roomLeave: a performer left with session_id [60c1820ff1944ecc4c6ae22809640434]
2008-06-18 18:20:16,953 [pool-4-thread-16] INFO  n.w.red5.videochat.Application - [F] roomStop: stopping room=[/room_8d6b810794a7ca3aa1a09dad1a3e6278] and scheduler.

So version 0.7.0 + hotfix does trigger the roomStop event fyi.

Hope this helps.

Regards,
Walter



  ----- Original Message ----- 
  From: Dmitry Pereuda 
  To: red5devs at osflash.org 
  Sent: Wednesday, June 18, 2008 8:28 AM
  Subject: Re: [Red5devs] I can't destroy the room


  Humm... first of all thank you very much for your reply, but...

  I can't see the function stop() for room scope.
  In the roomLeave message I have parameter "IScope room"

  But as I can see IScope does not have function stop().
  I.e. eclipse show me error when I try to use room.stop(); as you described.


  Another problem, I waited about one hour after disconnect last user and never
  get roomStop event... what does it mean?


------------------------------------------------------------------------------


  _______________________________________________
  Red5devs mailing list
  Red5devs at osflash.org
  http://osflash.org/mailman/listinfo/red5devs_osflash.org



------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG. 
  Version: 7.5.524 / Virus Database: 270.4.0/1507 - Release Date: 6/18/2008 7:09 AM


-- 
I am using the free version of SPAMfighter for private users.
It has removed 343 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080618/a389ec60/attachment.html 


More information about the Red5devs mailing list