Merge pull request #1804 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-12026 to master
* commit 'aaacaa19deb6ef764acdfabefb625f3ddc4e2324': FS-12026 [mod_http_cache] fix multichannel file download and play FS-12026 [mod_httapi] fix multichannel file download and play
This commit is contained in:
commit
6a6b8ac350
|
@ -3004,7 +3004,8 @@ static switch_status_t file_open(switch_file_handle_t *handle, const char *path,
|
|||
handle->seekable = context->fh.seekable;
|
||||
handle->speed = context->fh.speed;
|
||||
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;
|
||||
|
||||
if (switch_test_flag((&context->fh), SWITCH_FILE_NATIVE)) {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue