back in RC1 i had issues with the broadcast streams not being unregistered
in the server when the app was closed, so i got "fake" videostreams in
further calls to "getStreams". what i did was:

public void streamBroadcastClose(IBroadcastStream stream) {
       log.debug("streamBroadcastClose llamado:"+ stream.getPublishedName
());
       /*Next two lines "unregister" from system a stream that's closing
        * sometimes server does it automatically (and it should do it
always)
        * but sometimes it doesn't and that makes getStreams() return false
streams in the list.
        */
       ProviderService ps=new ProviderService();
       ps.unregisterBroadcastStream(Red5.getConnectionLocal().getScope(),
stream.getPublishedName());
   }

I haven't tried to comment those lines in RC2 and see what happens.

On 3/6/07, lionel breduillieard <[EMAIL PROTECTED]> wrote:

Hi,
I'm not sure but I think I had similar problem...
When you say you have a ghost, How do you detect that
Is it server side with a function like that

public List<String> getStreams() {
                IConnection conn = Red5.getConnectionLocal();
                return getBroadcastStreamNames(conn.getScope());
        }
Here is my problem, I still have listed stream of unconnected
people... and I don't know how clear
them...

Or is it on client side and the last stream  image is still show ?
for that, I use the NetStream.Play.UnpublishNotify status' code
to clear the client video device.

my two cents

yoy.

2007/3/6, Jean-Philippe DELAVALLADE <[EMAIL PROTECTED]>:
> Hi,
> I've the same probleme with appDisconnect and i have ghost in  in my
> visioconférence.
> I've tried a lot of things but nothing is running.
> There is a way or not in Red5 ?????
> thanks
> JP
> Le 6 mars 07 à 01:39, Wpajunior a écrit :
>
> > Hello there,
> >
> > I've made an application where there is a screen with 10 flash
> > videos which shows the clients when they connect to the
> > application. But sometimes when a client disconnect (close the
> > browser), it continues to appear in that screen (I use the an
> > override of appLeave to call a method in that screen so the client
> > is removed from there). Therefore, the method appLeave is not
> > called sometimes (when the client closes the browser). I think this
> > problem should be related to problems reported here about the
> > server is hanging after some time running because if it is holding
> > resources, later or soon it will hang.
> > I'm having problems to start using the Red5 in my company thanks
> > this problem. I'm sure that problem will be solved soon, but it is
> > not easy to make my bosses to believe in that.
> >
> > Are there some news about that?
> >
> > thanks in advance,
> >
> > Junior.
> >
> > _______________________________________________
> > 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

Reply via email to