Re: [Live-devel] CPU usage is high when there are 64 concurrentsessions.

2013-07-11 Thread Ross Finlayson
> I do modify the macro FD_SETSIZE=1024, but the situation is still the same. Once again, does your problem occur *only* when you have a large number of concurrent client connections (e.g., 32 or more), and *not* when you have a small number of connections (e.g., 5)? If so, then the problem is

Re: [Live-devel] CPU usage is high when there are 64 concurrentsessions.

2013-07-11 Thread Ross Finlayson
On Jul 12, 2013, at 1:38 AM, Colin Caughie wrote: > Are you a) using interleaved mode and b) not processing one or more of the > streams in the session (e.g. throwing away an audio stream)? > > If so, it could be the issue I reported here: > http://lists.live555.com/pipermail/live-devel/2013

Re: [Live-devel] CPU usage is high when there are 64 concurrentsessions.

2013-07-11 Thread West Chen
Dear Colin, I'm using RTSP over HTTP, and by looking at the packets dumped by wireshark. I saw something like this: RTSP/1.0 200 OK CSeq: 4 Date: Thu, Jun 27 2013 05:29:16 GMT Transport: RTP/AVP/TCP;unicast;destination=;source=;interleaved=0-1 Session: Hence I think the interleaved mode is used

Re: [Live-devel] CPU usage is high when there are 64 concurrentsessions.

2013-07-11 Thread Colin Caughie
Are you a) using interleaved mode and b) not processing one or more of the streams in the session (e.g. throwing away an audio stream)? If so, it could be the issue I reported here: http://lists.live555.com/pipermail/live-devel/2013-April/016796.html From: live-devel-boun...@ns.live555.com