shithub: opus-tools

Download patch

ref: 83586a7838bcc75bdf0e07e403e58f7ee51b4fcd
parent: 8e344732751964eebb702df8ecbd023557ed9e58
author: Ralph Giles <[email protected]>
date: Tue Oct 2 11:22:22 EDT 2012

Rate-limit the RTP packets.

--- a/src/opusrtp.c
+++ b/src/opusrtp.c
@@ -579,6 +579,7 @@
       rtp.seq++;
       rtp.payload_size = op.bytes;
       send_rtp_packet(fd, (struct sockaddr *)&sin, &rtp, op.packet);
+      usleep(20000);
     }
   }
   }