提交 86910efa authored 作者: Mike Jerris's avatar Mike Jerris

Merge pull request #1350 in FS/freeswitch from…

Merge pull request #1350 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:bugfix/FS-10529-remove_opus_extension to master

* commit '6bac8ddc':
  FS-10529: [mod_native_file] do not register "opus" file extension (needs ogg/opus support). Use encoded_bytes_per_packet to skip other extensions too.
......@@ -184,6 +184,9 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_native_file_load)
uint32_t x;
for (x = 0; x < num_codecs; x++) {
if (codecs[x]->encoded_bytes_per_packet == 0) {
continue;
}
supported_formats[x] = switch_core_strdup(pool, codecs[x]->iananame);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论