RE: Help: Using ccRTP to handle mutiple RTPSessions
"Bukhari, Irshad Ahmed I (Irshad Ahmed)" <[email protected]> Wed, 30 Aug 2006 13:10:14 +0530
| Newsgroups | gmane.comp.gnu.ccrtp.devel |
|---|---|
| Message-ID | <6117ACCB57BFD4118C0C00508BB1B920088192E6@ii3004exch001u.iprc.lucent.com> |
Hi All, The demo program rtpsend.cpp (trasmits media) to destination address (specifying the IP:port). And it is sending from default port (sender's ip:port) & incrementing every time. But how do i send packets from perticular port ? ... I tried specifying the dataport in "RTPSession(ip,dataport,controlport)" in "contructor of Sender class --> rtpsend.cpp" , but the application is not sending thro that port. Please help! Thanks, Irshad -----Original Message----- From: Bukhari, Irshad Ahmed I (Irshad Ahmed) Sent: Tuesday, August 22, 2006 6:01 PM To: 'Guillaume Fraysse'; Bukhari, Irshad Ahmed I (Irshad Ahmed) Cc: '[email protected]' Subject: RE: [Ccrtp-devel] Help: Using ccRTP to handle mutiple RTPSessions Hi I am new to ccRTP. Can anybody share there code which support multiple session. Thanks, Irshad -----Original Message----- From: Guillaume Fraysse [mailto:[email protected]] Sent: Thursday, August 17, 2006 3:23 PM To: Bukhari, Irshad Ahmed I (Irshad Ahmed) Cc: [email protected] Subject: Re: [Ccrtp-devel] Help: Using ccRTP to handle mutiple RTPSessions Hi, You have actually two ways of dealing with sessions in ccRTP. You can have a one thread per session policy (which is comonly used) or you can have a signle thread that deal with all the sessions (see ccrtp/pool.h). Hope this helps, Guillaume On 8/17/06, Bukhari, Irshad Ahmed I (Irshad Ahmed) <[email protected]> wrote: > Hi All, > > I am using ccRTP to generate RTP packets for multiple RTP sessions (pair of > ports for each session). I am little confused with the threading model to be > used here. > > *. In ccRTP manual, it says a separate execution thread for each RTP session > handles the queues. so is that mean that for 10 sessions , 10 threads will > be running ? > *. and also Is that mean that each RTPSession will have a saparate queues ? > > Please correct me if i am wrong & can any body share there experience in > using the ccRTP to handle multiple sessions. > > Thanks in advance, > Irshad > > > _______________________________________________ > Ccrtp-devel mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/ccrtp-devel >