sipwise / rtpengine

The Sipwise media proxy for Kamailio
GNU General Public License v3.0
785 stars 368 forks source link

Avoiding "Too many packets in UDP receive queue (more than 50), aborting loop. Dropped packets possible" errors. #1769

Closed Den4t closed 10 months ago

Den4t commented 10 months ago

Hi !

This fixation avoids the errors "Too many packets in the UDP receive queue (more than 50) interrupting the loop. Dropped packets are possible" by moving to a configurable variable counter of continuous read cycles (new config parameter max_recv_iters), and blocking of stream read operations after this error occurred has also been fixed.

Den4t commented 10 months ago

Also please document the new option in docs/rtpengine.md

Done.

I don't think there's a reason to bound-check this value at all, except maybe to make sure it's not negative.

Also.