gomac / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

RTP packetization us not sane and ptime parameter is not supplied #133

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am the lead developer of FreeSWITCH http://www.freeswitch.org
We have had several people using sipdroid including myself notice that
there are 1024 byte rtp packets being exchanged.

I can understand the point of trying to packetize the RTP to reduce jitter
but 1024 is not an ideal number.  For maximum compatibility with other
devices you should do multiples of 10 or 20 and make sure your udp packets
do not exceed the typical mtu of 1200 bytes.

The ideal value would be 120ms or 960 byte payload along with an advertised
ptime of 120, this allows the other end to make the optimal adjustments for
optimal connection.

I would recommend you default to 960 bytes if you wish but make a
configurable parameter to change the RTP packetization from the config.

Original issue reported on code.google.com by anthony....@gmail.com on 15 Sep 2009 at 11:20

GoogleCodeExporter commented 9 years ago
Since version 1.0.7 Sipdroid is sending 160 bytes corresponding to 20ms (see 
issue 10).

Original comment by pmerl...@googlemail.com on 16 Sep 2009 at 8:10