This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Handle multiple UDP RTP streams



 

Hi All,

I’m currently evaluating the TMS320C6474 on a EVM kit. My goal is to process  and echo back several UDP RTP voice streams (say 1000).  I would like to use DSP/BIOS 5.33 in combination with NDK 2.0.0.  

My first plan was to use a Raw socket to receive all the data. The problem with this approach was that a Raw socket didn’t accept 0x800 as protocol type (UDP streams use IP as protocol). Since this seems to me the most efficient approach Is there a way to work around this problem?

In my second  approach  I tried to open a different  UDP socket  for every UDP port.  In this way every socket runs in its own Task. I used the client example as a start point. After opening 27 sockets I ran into problems.  After changing some Task Manager settings in the DSP/BIOS configuration I was able to open 107 streams before running into problems.  Does anyone have an advice in configuring the memory in a correct way? Is there a big drawback in performance by using 1000 sockets (if possible anyway)?

With kind regards,

Will Driessen