> Create multiple RTSP server in one process and every server is different 
> thread ( multi-thread ).
If you do this, be sure that each thread uses its own "UsageEnvironment" and 
"TaskScheduler" objects; see http://www.live555.com/liveMedia/faq.html#threads

However, there's generally little or no benefit in having multiple RTSP server 
threads, because RTSP servers are not 'CPU bound', and do non-blocking I/O.  
(But if you insist on having multiple, concurrent RTSP servers, it's better to 
run them in separate processes (not separate threads within a single process).)

Nonetheless, the problem you noted (with the code in "RTCP.cpp") is real.  I 
have just installed a new version - 2014.05.25 - of the "LIVE555 Streaming 
Media" code that fixes this (using a slightly different solution to the one 
that you proposed).


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

Reply via email to