Re: [Live-devel] Max limit for RTSPClientSession instances>you may have run 
into a limit - in your operating system - of how many open files it can have;

Thank you for your fast response. 

I'm not reading data from files; my application receives data from a custom HW 
and uses Live555 to receive the streams from the HW and offer them through 
RSTPServer. I found that the 36 input streams are well received. The first 32 
(and just now I reached 34) clients are well accepted. Using TcpView, I see 210 
active sockets, i.e. (36 in + 34 out)*(1 rtp + 2 UDP) = 210; besides there is 
one RTP socket opened and closed due to the 35th client's periodic attempt to 
get its stream.
For your information, I have 37 environments, each with its own doEventLoop 
thread; one is for the unique RTSPServer instance and the others for the 36 
RTSPClient instances. The RSTPServer has 36 session instances, which are fed 
via circular buffer (a new DeviceSource).

Do you think I run into an "max open socket" limit (even if 210 is much less 
than 65535)?

Thank you very much,

    Renato MAURO



  ----- Original Message ----- 
  From: Ross Finlayson 
  To: LIVE555 Streaming Media - development & use 
  Sent: Monday, July 21, 2008 1:56 PM
  Subject: Re: [Live-devel] Max limit for RTSPClientSession instances?


        I wrote an RTSPServer application using Live555. I have 36 different 
sessions, each with one video subsession. It works and have one limit only: it 
seems to be impossible to serve more than 32 client requests at a time(no 
difference between 32 clients on the same session or one client on 32 out of 36 
sessions). On the client side, the , rtspClient->sendOptionsCmd(url) methos 
fails.

        I will debug my application more deeply in order to understand where, 
on the server side, the client request is not satisfied; by now my "high level 
analysis" question is: is there any max limit for RTSPClientSession instances?


  Not in our code; however, you may have run into a limit - in your operating 
system - of how many open files it can have (for each process) at a time.  
Depending on your OS, there should be a way to increase that limit.
-- 

  Ross Finlayson
  Live Networks, Inc.
  http://www.live555.com/


------------------------------------------------------------------------------


  _______________________________________________
  live-devel mailing list
  live-devel@lists.live555.com
  http://lists.live555.com/mailman/listinfo/live-devel
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to