mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FS-9665 #resolve [Add video_pre_call_banner feature]
This commit is contained in:
@@ -97,7 +97,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
if (switch_channel_test_flag(session->channel, CF_AUDIO_PAUSE)) {
|
||||
if (switch_channel_test_flag(session->channel, CF_AUDIO_PAUSE_READ)) {
|
||||
switch_yield(20000);
|
||||
*frame = &runtime.dummy_cng_frame;
|
||||
// switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Media Paused!!!!\n");
|
||||
@@ -1039,7 +1039,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess
|
||||
}
|
||||
}
|
||||
|
||||
if (switch_channel_test_flag(session->channel, CF_AUDIO_PAUSE)) {
|
||||
if (switch_channel_test_flag(session->channel, CF_AUDIO_PAUSE_WRITE)) {
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user