i did actually answer that and pasted the code i use to fix it. When you
close the browser window the only method that is always called is
streamBroadCastClose and the issue is that the stream is not always
unregistered, so you gotta do it "manually" (if that word exists in
english).
Add these four lines in that method:
IScope scope=Red5.getConnectionLocal().getScope();
String pubName=stream.getPublishedName();
ProviderService ps=new ProviderService();
ps.unregisterBroadcastStream(scope, pubName);
And that will stop, i swear. At least it does on rc1 and rc2.
That's of course assuming that you are getting the list of published streams
through fitc's getStreams. Anyway i'd suggest to keep track of that list
using the server log , ie adding this:
public List<String> getStreams() {
IConnection conn = Red5.getConnectionLocal();
String str="";
List<String> lista = getBroadcastStreamNames(conn.getScope());
Iterator<String> it= lista.iterator();
//A loop to show the stream list in the log
while(it.hasNext()){
str+=it.next()+" - ";
}
log.debug("Streams list: "+str);
return lista;
}
this way you'll be able to see wich streams are wrongly open (if any) and
figure out the problem.
Good luck
On 3/8/07, Jean-Philippe DELAVALLADE <[EMAIL PROTECTED]> wrote:
Hi Thijs,I'm using fitcDemo with a visioconference here :
http://jeanphilippe.no-ip.biz/videoconf/
but when user quite or close the window browser without clic on deconnect
button , ghost camera stay on my screen.
I've testing all i can (disconnect, etc...) but nothing.
I think is a recurent problem because a lot of personn have writing about
on the list but witout response
Thanks
JP
Le 8 mars 07 à 00:02, Thijs Triemstra|Collab a écrit :
Can you be more specific, what are you trying and what breaks?
Thijs
Op 6-mrt-2007, om 20:22 heeft Jean-Philippe DELAVALLADE het volgende
geschreven:
Thanks Ekabut if i update via SVN, my Red5 OSX version don't run anymore
thanks
JP
.
Le 6 mars 07 à 08:35, eka a écrit :
Hello :)
i think you must update the version of Red5 with the SVN repository. Use
RapidSVN to creates the SVN repository in your MacOSX with the url of the
SVN RED5 project.
EKA+ :)
2007/3/6, Jean-Philippe DELAVALLADE <[EMAIL PROTECTED]>:
>
> Hi Thijs,
> I think it's the same problem and that's cool if it's fixed.
> But what can i do with SVN ???
> Can you explain what i must do?
> Thanks a lot
> JP
>
> Le 4 mars 07 à 12:32, Thijs Triemstra|Collab a écrit :
>
> > Hi Jean-Phillipe,
> >
> > It looks like this issue was fixed yesterday, see for more info
> > http://jira.red5.org/browse/APPSERVER-59
> > If you want to try this new version you will have to get it with SVN.
> > A mac osx svn client can be found on http://rapidsvn.tigris.org/
> >
> > Thijs
> >
> >
> > Op 4-mrt-2007, om 9:40 heeft Jean-Philippe DELAVALLADE het volgende
> > geschreven:
> >
> >> Hi,
> >> I've a problem with ghost on my visioconf project.
> >> When the user close his connection manualy with the connect button,
> >> it's ok
> >> but if he don't deconnect and close the page, screens stay in place
> >> and don't refresh
> >> What can i do ?
> >> thanks
> >> JP
> >>
> >>
> >> _______________________________________________
> >> 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
> >
>
>
>
> _______________________________________________
> 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
_______________________________________________
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
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
--
-------------------------------------------------------------------
"Nos gusta los domingos ir al parque a pinchar los globos de los niños para
verlos llorar" .- Eskorbuto
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org