]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8559: mod_shout should have "mpga" in it's list of supported extensions
authorMark Lipscombe <mlipscombe@gmail.com>
Thu, 19 Nov 2015 09:54:06 +0000 (20:54 +1100)
committerMark Lipscombe <mlipscombe@gmail.com>
Thu, 19 Nov 2015 09:54:06 +0000 (20:54 +1100)
Add mpga to the list of supported formats for mod_shout so that
files retrieved using mod_http_cache with a mime type of audio/mpeg
are able to be played using mod_shout.

src/mod/formats/mod_shout/mod_shout.c

index f4b297d16792dcaf35f18399aebd708fa6c49f97..7e5cc2fef5e05db1795ebbfd3e51b50a3b63ab88 100644 (file)
@@ -1707,6 +1707,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_shout_load)
 
        supported_formats[0] = "shout";
        supported_formats[1] = "mp3";
+       supported_formats[2] = "mpga";
 
        /* connect my internal structure to the blank pointer passed to me */
        *module_interface = switch_loadable_module_create_module_interface(pool, modname);