[Live-devel] testOnDemandRTSPServer multicast question
Ross Finlayson
finlayson at live555.com
Sun Dec 16 16:53:20 PST 2012
> 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's correct, because the "groupsock" object (the member variable "fInputGroupsock" in "MPEG2TransportUDPServerMediaSubsession") is not destroyed at this time. Instead, it stays around to be reused the next time that "createNewStreamSource" is called. That's why I'm confused as to the behavior that your're seeing. I'll have to investigate...
> I suspect that the lack of an IGMP leave in the source destructor may be the cause of this unexpected behaviour.
No, because if - as in this case - the "groupsock" object is not destroyed, then it should be OK to reuse it for new "BasicUDPSource" (or "SimpleRTPSource") objects.
> 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?
First, I'll try to look into exactly what's happening. If there's a bug in the supplied LIVE555 code, then I'll try to fix it.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20121217/1c01cc2a/attachment.html>
More information about the live-devel
mailing list