[Live-devel] low perfomance in "onDemandRTSPServer" when connecting with multiple clients

David Bueno Monge david.bueno at scati.com
Tue Apr 15 06:33:48 PDT 2014


Hi,

I have developed a RTSP server based on the example found
in testOnDemandRTSPServer.cpp. The application can stream data from files
and also from different live sources (to do that i'm using an RTSP client
which i developed some time ago, also based on the Live555 library).

I have implemented my own "FramedSource" subclass and differents subclasses
of "OnDemandServerMediaSubsession" depending on the video encoding.

The application works fine when just one client is connected to the server,
even with high resolution videos. However, when more clients connect to the
different sessions added to the RTSPServer instance of my server, the
performance decreases a lot.

I am talking that just with two clients connected, the rate at which the
server stream the input of two different sources is really low.

There is no network problem, this happens also in a local scenario (server
and clients running in the same machine).

The %CPU and memory used by the server are very low also, so, the problem
does not come from the machine running the server.

Is there anything that can be done to increase the performance?? Some kind
of configuration i could be missing??

Thanks.
-- 

*David Bueno Monge*Software Engineer

Skype dbueno_scati
*------------------------------*[image:
http://www.scati.com]<http://www.scati.com/>

T +34 902 116 095

F +34 976 466 580
*------------------------------*

Bari, 23
Plataforma Logística PLAZA

50.197 Zaragoza (Spain)

*www.scati.com <http://www.scati.com/>*
*------------------------------*

*Disclaimer:*
This e-mail (including any attached documents) is proprietary and
confidential and may contain legally privileged information. It is intended
for the named recipient(s) only. If you are not the intended recipient, you
may not review, retain, copy or distribute this message, and we kindly ask
you to notify the sender by e-mail immediately and delete this message from
your system.

*Please consider your environmental responsibility before printing this
e-mail.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140415/723e6279/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 9971 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140415/723e6279/attachment.png>


More information about the live-devel mailing list