mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 00:22:35 +00:00
[Core] Fix one way audio after executing the uuid_recv_dtmf with dtmf string ending with w or W.
This commit is contained in:
parent
2ef4a32ce2
commit
12f56e293d
@ -5382,7 +5382,8 @@ static void set_dtmf_delay(switch_rtp_t *rtp_session, uint32_t ms, uint32_t max_
|
|||||||
|
|
||||||
upsamp = ms * (rtp_session->samples_per_second / 1000);
|
upsamp = ms * (rtp_session->samples_per_second / 1000);
|
||||||
max_upsamp = max_ms * (rtp_session->samples_per_second / 1000);
|
max_upsamp = max_ms * (rtp_session->samples_per_second / 1000);
|
||||||
|
|
||||||
|
rtp_session->sending_dtmf = 0;
|
||||||
rtp_session->queue_delay = upsamp;
|
rtp_session->queue_delay = upsamp;
|
||||||
|
|
||||||
if (rtp_session->flags[SWITCH_RTP_FLAG_USE_TIMER]) {
|
if (rtp_session->flags[SWITCH_RTP_FLAG_USE_TIMER]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user