]> 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)
committerAlexey Khabulyak <khabalex@gmail.com>
Tue, 10 Dec 2024 13:25:06 +0000 (13:25 +0000)
commitced3b41327fd06b049061bcb6691926cf1359ac6
tree0aed0e237269c3d2a85c75e48b13294e1394cae3
parentc50dea93a5524a59285e4d693b2842d7e032dc8d
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
formats/format_gsm.c