aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/mgcp/mgcp_codec.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-08-08 04:03:42 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2019-08-20 03:25:11 +0200
commiteb282efa670148de9c27a000b1ff952a3681e2bd (patch)
treea32dec48d12230737d3d623830255839041d4822 /include/osmocom/mgcp/mgcp_codec.h
parent02d5c8798bd16241b3f972f8595a595d5410544a (diff)
SDP: store all ptmap entries
If a ptmap appears in the SDP, always store it in the ptmap array. No longer attempt to drop entries if they match the conventional payload type number. - One reason is that the past code only matched full explicit "FOO/8000/1" strings, while the channel number "/1" can be omitted to imply 1; by simply storing everything received in the SDP, there is no need to add complexity to match both "FOO/8000" and "FOO/8000/1". - The other reason is to rather parse exactly what was received, instead of filtering entries, to take away a degree of implied magic. Change-Id: I2a69c21e68c602daf804744212d335ab1eafd81b
Diffstat (limited to 'include/osmocom/mgcp/mgcp_codec.h')
0 files changed, 0 insertions, 0 deletions