]> git.ipfire.org Git - thirdparty/asterisk.git/commit
format_gsm.c: Added mime type
authorAlexey Khabulyak <khabalex@gmail.com>
Tue, 3 Dec 2024 09:53:10 +0000 (12:53 +0300)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 23 Jan 2025 18:42:28 +0000 (18:42 +0000)
commitb26b73790f453ec011e012a2529d5f541a0bca4d
tree2201676b6bd263bfc38c961d6292e242fdd1d49a
parent186e9b5bb85a8c3e1967de7887c834ce8c576d27
format_gsm.c: Added mime type

Sometimes it's impossible to get a file extension from URL
(eg. http://example.com/gsm/your) so we have to rely on content-type header.
Currenly, asterisk does not support content-type for gsm format(unlike wav).
Added audio/gsm according to https://www.rfc-editor.org/rfc/rfc4856.html

(cherry picked from commit ced3b41327fd06b049061bcb6691926cf1359ac6)
formats/format_gsm.c