osmo-bsc/openbsc/src/libmgcp
Jacob Erlbeck f6ec0e9fc4 mgcp/rtp: Refactored packet_duration computation
Since the packet duration is given in ms with the 'ptime' RTP media
attribute and also with the 'p' MGCP local connection option, the
computation is changed to use this value (if present). The
computation assumes, that there are N complete frames in a packet and
takes into account, that the ptime value possibly had been rounded
towards the next ms value (which is never the case with a frame length
of exact 20ms).

Sponsored-by: On-Waves ehf
2013-12-10 11:17:44 +01:00
..
Makefile.am Makefile.am: Use AM_CPPFLAGS 2013-06-12 09:16:27 +02:00
mgcp_network.c mgcp/rtp: Refactored packet_duration computation 2013-12-10 11:17:44 +01:00
mgcp_protocol.c mgcp/rtp: Refactored packet_duration computation 2013-12-10 11:17:44 +01:00
mgcp_vty.c mgcp/rtp: Add RTP header patch mode configuration 2013-12-10 11:11:42 +01:00