[Live-devel] testOnDemandRTSPServer multicast question

Tim J Shackleton live555 at timshackleton.com
Sun Dec 16 16:41:30 PST 2012


On 17/12/12 12:18, Ross Finlayson wrote:
> If you do this, then, yes, the input source object will get closed 
> (and its destructor called) whenever the last RTSP client leaves. 
>  This is the proper behavior, because we want the input source to be 
> closed when noone is requesting its data.  (Similarly, when another 
> client arrives later, "createNewStreamSource()" will get called again, 
> and a new input source object will get created.)
>

Hi Ross,

I have just noticed something - when the first client connects, there is 
an IGMP membership report issued to join the group I have specified for 
any sources.

However, when that first (and only) client tears down the session, there 
is no IGMP membership report for the 'Leave'.

That said, a 'Leave' is issued when the program is subsequently terminated.

I suspect that the lack of an IGMP leave in the source destructor may be 
the cause of this unexpected behaviour.

Would you suggest I write my own subclassed source and destructor, or do 
you think this behavour should be contained within the standard live555 
source?

Thanks and regards,

-Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20121217/c7ff86ac/attachment-0001.html>


More information about the live-devel mailing list