mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-05 20:51:51 +00:00
FS-7262: #resolve #comment fix regression in native recording using record thread from FS-7083 326289c
This commit is contained in:
parent
30917dd19c
commit
5afdffb661
@ -1183,7 +1183,7 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s
|
|||||||
{
|
{
|
||||||
const char *var = switch_channel_get_variable(channel, "RECORD_USE_THREAD");
|
const char *var = switch_channel_get_variable(channel, "RECORD_USE_THREAD");
|
||||||
|
|
||||||
if (zstr(var) || switch_true(var)) {
|
if (!rh->native && rh->fh && (zstr(var) || switch_true(var))) {
|
||||||
switch_threadattr_t *thd_attr = NULL;
|
switch_threadattr_t *thd_attr = NULL;
|
||||||
switch_memory_pool_t *pool = switch_core_session_get_pool(session);
|
switch_memory_pool_t *pool = switch_core_session_get_pool(session);
|
||||||
int sanity = 200;
|
int sanity = 200;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user