[Live-devel] streaming multiple videos with multiple streams

Ross Finlayson finlayson at live555.com
Thu Jun 5 06:58:02 PDT 2014


It wasn't clear to me - from your original message - what port numbers you are choosing.  For each stream, you *must* use an even numbered port number for RTCP, and that port number +1 (i.e., odd-numbered) for RTCP.  Also, you *should* use different port numbers for each stream.

E.g., for stream 1, you could use 8000 for RTP, and 8001 for RTCP.  For stream 2, you could use 8002 for RTP, and 8003 for RTCP.  Etc.

Because you are (correctly) using a different IP multicast address for each stream, it shouldn't matter, in principle, if you use different port numbers for each stream.  In practice, however, it might matter (and it does matter in some versions of Linux), so that's what I recommend.

But apart from that, I don't see anything in our software that could be causing your problem.  But you clearly are running into a resource limit somewhere.  Is your CPU usage at (or close to) 100% when you start having problems with multiple streams?  If so, then you should be able to figure out - using profiling software - where most of the CPU usage is occurring.  If, however, the resource limit that you're hitting is *not* your CPU, and it's not your network, then it has to be file I/O, or something else in your OS.

Finally, I assume that you're not trying to run multiple copies of *VLC" on the same computer.  (Someone reported a similar issue about a month ago, but it turned out that their real problem was that they were trying to run multiple copies of VLC on the same computer.)

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/20140605/57913529/attachment.html>


More information about the live-devel mailing list