<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Oops, I misread part of your earlier message.  Now I think I understand what is going wrong.<div class=""><br class=""></div><div class="">Yes, I think you are correct: There is potentially a problem if a “RTSPClientSession” outlives a “RTSPClientConnection”, because the “RTSPClientSession” can hold references to socket numbers that get reused.</div><div class=""><br class=""></div><div class="">As I noted in my earlier response, we usually have to continue to allow a “RTSPClientSession” to outlive a “RTSPClientConnection” - but that doesn’t make sense if the session is using RTP/RTCP-over-TCP streaming.  In that case, when the “RTSPClientConnection” dies, we need to also close any “RTSPClientSession” objects that were using this connection for RTP/RTCP-over-TCP streaming.</div><div class=""><br class=""></div><div class="">Thanks for the note.  I’ll try to come up with a fix shortly.</div><br class=""><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  ">Ross Finlayson<br class="">Live Networks, Inc.<br class=""><a href="http://www.live555.com/" class="">http://www.live555.com/</a></span></span>
</div>
<br class=""></body></html>