<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 17/12/12 12:18, Ross Finlayson wrote:
<blockquote
cite="mid:9CC85C20-5082-4DCF-8FAA-F8C801904218@live555.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div>
<div>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.)</div>
</div>
<br>
</blockquote>
<br>
Hi Ross,<br>
<br>
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.<br>
<br>
However, when that first (and only) client tears down the session,
there is no IGMP membership report for the 'Leave'.<br>
<br>
That said, a 'Leave' is issued when the program is subsequently
terminated.<br>
<br>
I suspect that the lack of an IGMP leave in the source destructor
may be the cause of this unexpected behaviour.<br>
<br>
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?<br>
<br>
Thanks and regards,<br>
<br>
-Tim<br>
</body>
</html>