From: Dragos Oancea Date: Tue, 27 Aug 2019 11:30:05 +0000 (+0000) Subject: FS-12026 [mod_http_cache] fix multichannel file download and play X-Git-Tag: v1.10.2^2~112^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aaacaa19deb6ef764acdfabefb625f3ddc4e2324;p=thirdparty%2Ffreeswitch.git FS-12026 [mod_http_cache] fix multichannel file download and play --- diff --git a/src/mod/applications/mod_http_cache/mod_http_cache.c b/src/mod/applications/mod_http_cache/mod_http_cache.c index e3f8d06493..ca681d091d 100644 --- a/src/mod/applications/mod_http_cache/mod_http_cache.c +++ b/src/mod/applications/mod_http_cache/mod_http_cache.c @@ -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;