multiple RTP session in a single thread
"Mustafa Kapadia" <[email protected]>
| Newsgroups | gmane.comp.gnu.ccrtp.devel |
|---|---|
| Message-ID | <86CE91CAB9446F4CAED7E3C3F664DA58071C22AE@zcarhxm1.corp.nortel.com> |
Hi, I am planning to use ccRTP for developing a test tool which can run multiple RTP session. As I understand after browsing the code is that everytime RTPSession object is created a new Thread is created.Is this correct ? I am planning to run around 2000 RTP session. However, if every RTPSession is a single thread then 2000 threads will starve other processes of CPU. So I am looking for running all these sessions in a single thread using SingleThreadRTPSession. Additionally per session I have a requirement to send/receive packet every 20 ms for each session. Has somebody tried this before ? Is it doable given that I am planning to run this on Win NT machine. Since I am very new to ccRTP I would appreciate if someone can share sample program based on SingleThreadRTPSession for creating multiple RTP sessions running under one thread. Thanks, mustak _______________________________________________ Ccrtp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ccrtp-devel