<div>Ross:</div>
<div> </div>
<div>I duplicated the problem first with v2009.07.27 and then with v2010.01.13. I am sorry if I was a bit misleading. I will test you fix out tonight. Thanks for your quick response.<br><br></div>
<div class="gmail_quote">On Fri, Jan 15, 2010 at 5:46 PM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">I am using VLC 0.9.10 with live555 snapshot live.2010.01.13.tar.gz<br></blockquote><br>Are you sure? VLC disagrees:<br>
<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">User-Agent: VLC media player (LIVE555 Streaming Media v2009.07.27)<br></blockquote><br>Nonetheless, the problem you describe applies even to newer versions:<br>
<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">BasicTaskScheduler::SingleStep(): select() fails: Bad file descriptor<br>[00000703] main decoder debug: thread started<br>
<br>By turning on debugging I was able to ascertain that the problem was that the fd_set socket handle mask for the 'select()' call was not getting updated when RTP and RTCP sockets were closed and reopened with different file descriptor values because of a multicast address/port changed flagged by the RTSP stack.<br>
</blockquote><br>Yes, you're right - you identified a bug. (This arose because your server is doing something rather unusual (but still legal): define the destination multicast address in the RTSP "SETUP" response.)<br>
<br>The problem was our implementation of the "changePort()" function. I have now changed this so that it calls "bind()" directly, rather than indirectly via closing and reopening sockets.<br><br>I have installed a new version (2010.01.15) of the code that - I hope fixes this problem.<br>
-- <br><font color="#888888"><br>Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a><br>_______________________________________________<br>live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br><a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Rob Krakora<br>Senior Software Engineer<br>MessageNet Systems<br>101 East Carmel Dr. Suite 105<br>Carmel, IN 46032<br>(317)566-1677 Ext. 206<br>(317)663-0808 Fax<br>