mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-29 13:18:23 +00:00
FS-9596 #resolve [rtp-timeout triggered for on-hold calls with a=inactive]
This commit is contained in:
parent
707502ff24
commit
c6ece47314
@ -11101,6 +11101,22 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_receive_message(switch_core_se
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case SWITCH_MESSAGE_INDICATE_HOLD:
|
||||||
|
{
|
||||||
|
if (a_engine && a_engine->rtp_session) {
|
||||||
|
switch_rtp_set_max_missed_packets(a_engine->rtp_session, a_engine->max_missed_hold_packets);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case SWITCH_MESSAGE_INDICATE_UNHOLD:
|
||||||
|
{
|
||||||
|
if (a_engine && a_engine->rtp_session) {
|
||||||
|
switch_rtp_set_max_missed_packets(a_engine->rtp_session, a_engine->max_missed_packets);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ:
|
case SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ:
|
||||||
{
|
{
|
||||||
if (v_engine->rtp_session) {
|
if (v_engine->rtp_session) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user