commit | fa3fff403881ab8d0250f1354474aeec465d6f2f | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Tue Dec 10 13:09:37 2013 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Fri Dec 13 13:49:32 2013 +0100 |
tree | e56020ed200cd99993d581c56b1ee2d668e58c1a | |
parent | 91cf7430dbd56941d47f7d5c99555a9dee502faa [diff] |
mgcp: Parse SDP to get rate and packet duration This patch parses the 'ptime' and 'maxptime' SDP attributes, and the SDP rate information and sets up packet_duration_ms accordingly. If the packet duration is unknown or allows for different values (e.g. because 'ptime' uses a range or 'maxptime' allows for more than one frame) the duration is set to 0. Sponsored-by: On-Waves ehf