[Live-devel] RTSP MediaSession.cpp patch for RTP/RTCP for multicast

Robert Krakora rob.krakora at gmail.com
Fri Jan 15 15:23:08 PST 2010


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.

On Fri, Jan 15, 2010 at 5:46 PM, Ross Finlayson <finlayson at live555.com>wrote:

> I am using VLC 0.9.10 with live555 snapshot live.2010.01.13.tar.gz
> Are you sure?  VLC disagrees:
> User-Agent: VLC media player (LIVE555 Streaming Media v2009.07.27)
> Nonetheless, the problem you describe applies even to newer versions:
> BasicTaskScheduler::SingleStep(): select() fails: Bad file descriptor
>> [00000703] main decoder debug: thread started
>> 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.
> 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.)
> 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.
> I have installed a new version (2010.01.15) of the code that - I hope fixes
> this problem.
> --
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel

Rob Krakora
Senior Software Engineer
MessageNet Systems
101 East Carmel Dr. Suite 105
Carmel, IN 46032
(317)566-1677 Ext. 206
(317)663-0808 Fax
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100115/0c77000e/attachment-0001.html>

More information about the live-devel mailing list