summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-12-04 10:30:11 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2013-12-10 11:17:44 +0100
commitf6ec0e9fc4261d2173286e9b23fd19060040d1d1 (patch)
treef0dbbb3581da797161cbc4a713781333a15439e0 /debian/rules
parent58340e5b5bfa37b09a61d544904330c1932ccfec (diff)
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
Diffstat (limited to 'debian/rules')
0 files changed, 0 insertions, 0 deletions