[Live-devel] openRTSP
Ross Finlayson
finlayson at live555.com
Mon Mar 8 01:06:07 PST 2010
> >OK, the problem is that the *client* port numbers are the same for both
>>streams. I don't know why the server does this, but in any case it's
>>not something that we currently support in our code (to do so would
>>require that we demultiplex based on SSRC, which is something that we
>>don't do).
>
>Just to make things clear, it is the client (openRTSP) that initially
>proposes the client port numbers to the server, not the other way around
OK, now I understand the point you're making - sorry.
Yes, it seems that you've run across a bug (which your code is more
likely to trigger, because it creates a large number of client
subsessions (and thus sockets) for a single RTSP stream).
Please try the following: In the file "liveMedia/MediaSession.cpp",
add the line
NoReuse dummy;
at line 638 - i.e., just after the statement
Boolean success = False;
Please let us know if this seems to prevent the problem from
occurring. (If so, I'll add this to a future release of the code.)
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list