[Live-devel] Setting StreamState referenceCount

jers at inwind.it jers at inwind.it
Thu Nov 9 03:34:35 PST 2006


Hi,
thanks for your feedback!
Now I'd like to close automatically all the open RTSPClientSessions referred to a subsession when its source communicates the end of playing. 
I thought a solution which I don't like so much. I'm creating a queue of RTSPClientsSession's pointers in my subsession. Therefore, the subsession is able to close all its RTSPClientSessions after the source announce. What do you think about my idea. Is there a better way to solve the issue?

bye.
Jers


> >To fix this problem I suggest to remove the line 501 in file 
> >OnDemandServerMediaSubsession.cpp that sets to zero the 
> >StreamState::fReferenceCount.
> >
> >What do you think about that?
> 
> Yes, I think you're right.  This will be fixed in the next release of 
> the software.
> -- 
> 
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
> 


------------------------------------------------------
Nuovo MOTOROLA MOTOKRZR K1. Superficie a specchio, fotocamera da 2 Megapixel e lettore MP3 integrato.Clicca e vinci !
http://click.libero.it/motorola9nov





More information about the live-devel mailing list