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
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to