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

Ross Finlayson finlayson at live555.com
Thu Apr 24 12:02:06 PDT 2014


> None of these is the problem, as you have said, the CPU utilization remains low, and there is no network problem as i am running server and cliente on the same machine.
> 
> The number of sockets cannot be a problem, because with high resolution videos, only with 5 or 6 clients connected, the performance decreases a lot. You can continue adding clients, but without a good performance...

Are these clients actually decoding and displaying the video (rather than just receiving it)?  If so, then perhaps your bottleneck is there - in whatever is doing the decoding?  E.g., do you have a separate GPU or something doing the decoding?

One way to test this is to use "openRTSP" as your client.  "openRTSP" just receives data (and outputs it to a file), but does not decode it.  Try running "openRTSP" multiple times (you may wish to use the "-F <filename-prefix>" option to give each output file a different filename prefix, to distinguish them).  Then try playing the received files using a media player.  (If your video is H.264, and you're using VLC as your media player, then you'll need to rename each video file to have a ".h264" filename suffix.)  This will tell you whether or not data loss is happening.


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140424/1a54d408/attachment.html>


More information about the live-devel mailing list