提交 44199e91 authored 作者: Dragos Oancea's avatar Dragos Oancea

FS-12026 [mod_httapi] fix multichannel file download and play

上级 b8e14cb9
...@@ -3004,7 +3004,8 @@ static switch_status_t file_open(switch_file_handle_t *handle, const char *path, ...@@ -3004,7 +3004,8 @@ static switch_status_t file_open(switch_file_handle_t *handle, const char *path,
handle->seekable = context->fh.seekable; handle->seekable = context->fh.seekable;
handle->speed = context->fh.speed; handle->speed = context->fh.speed;
handle->interval = context->fh.interval; handle->interval = context->fh.interval;
handle->channels = context->fh.real_channels; handle->channels = context->fh.channels;
handle->cur_channels = context->fh.real_channels;
handle->flags |= SWITCH_FILE_NOMUX; handle->flags |= SWITCH_FILE_NOMUX;
if (switch_test_flag((&context->fh), SWITCH_FILE_NATIVE)) { if (switch_test_flag((&context->fh), SWITCH_FILE_NATIVE)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论