From aaacaa19deb6ef764acdfabefb625f3ddc4e2324 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Tue, 27 Aug 2019 11:30:05 +0000 Subject: [PATCH] FS-12026 [mod_http_cache] fix multichannel file download and play --- src/mod/applications/mod_http_cache/mod_http_cache.c | 1 + 1 file changed, 1 insertion(+) 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;