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

This commit is contained in:
Dragos Oancea 2019-08-27 11:30:05 +00:00
parent 44199e91b5
commit aaacaa19de
1 changed files with 1 additions and 0 deletions

View File

@ -1754,6 +1754,7 @@ static switch_status_t http_cache_file_open(switch_file_handle_t *handle, const
handle->speed = context->fh.speed;
handle->interval = context->fh.interval;
handle->channels = context->fh.channels;
handle->cur_channels = context->fh.real_channels;
handle->flags |= SWITCH_FILE_NOMUX;
handle->pre_buffer_datalen = 0;