[Live-devel] Connection to RTSP server failing after some time

g.jaegy g.jaegy at imagine3d.fr
Mon Jan 23 07:41:44 PST 2023


OK I keep that hint in mind as well.

So according to the documentation I could gather, increasing that limit on Windows seems to consist in defining FD_SETSIZE with a higher value (default being 64) before including "Winsock2.h" header. I can easily do that in our code.

I assume I'll however have to add that preprocessor definition in live555 code as well. According to my analysis, there is no built-in way available in live555, so I guess I'll have to add that same definition in "NetCommon.h", before the relevant include directive, and recompile the library. Is that correct ?

Sounds a bit hackish to me, but it doesn't seem there is any better way...

-----Original Message-----
From: live-devel <live-devel-bounces at us.live555.com> On Behalf Of Ross Finlayson
Sent: Friday, January 20, 2023 7:29 PM
To: LIVE555 Streaming Media - development & use <live-devel at us.live555.com>
Subject: Re: [Live-devel] Connection to RTSP server failing after some time



> On Jan 20, 2023, at 1:23 AM, g.jaegy <g.jaegy at imagine3d.fr> wrote:
> 
> I guess I'll have to go back on customer site at some point, however, I would like to prepare a few "weapons" that would allow me to gather some further information about what's going on. Any idea what could be helpful to figure out what the problem is ? Is there any way to configure Live555 so that it output some logging information or something ?

And I still maintain that the most likely cause of your problem is that the server is running into an OS-imposed limit on the number of open sockets that a process can use.


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



More information about the live-devel mailing list