|
From: | Mustafa Kapadia |
Subject: | [Ccrtp-devel] multiple RTP session in a single thread |
Date: | Tue, 7 Feb 2006 19:17:46 -0500 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |