]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_format_attr_*: Parameter Names are Case-Insensitive.
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 5 Mar 2021 17:16:56 +0000 (18:16 +0100)
committerJoshua Colp <jcolp@sangoma.com>
Wed, 10 Mar 2021 10:22:36 +0000 (04:22 -0600)
commit1ae40e502dffcab8db25f8215309f68df6f487c2
treeb5c4583e09053c458419a448c139a8122ddc7dcd
parent8c461845c846b34f177819e6e4d3cf8cfc7369b7
res_format_attr_*: Parameter Names are Case-Insensitive.

see RFC 4855:
parameter names are case-insensitive both in media type strings and
in the default mapping to the SDP a=fmtp attribute.

This change is required for H.263+ because some implementations are
known to use even mixed-case. This does not fix ASTERISK~29268 because
H.264 was not fixed. This approach here lowers/uppers both parameter
names and parameter values. H.264 needs a different approach because
one of its parameter values is not case-insensitive:
sprop-parameter-sets is Base64.

Change-Id: Idf2a73457be231647aed3c87b1da197afba86892
res/res_format_attr_celt.c
res/res_format_attr_h263.c
res/res_format_attr_ilbc.c
res/res_format_attr_opus.c
res/res_format_attr_silk.c
res/res_format_attr_siren14.c
res/res_format_attr_siren7.c
res/res_format_attr_vp8.c