FS-8625 #resolve [Segmentation fault: 11]
This commit is contained in:
parent
1d36d1fcae
commit
cce8288c16
|
@ -1931,6 +1931,8 @@ static switch_status_t channel_on_init(switch_core_session_t *session)
|
||||||
struct private_object *tech_pvt = NULL;
|
struct private_object *tech_pvt = NULL;
|
||||||
switch_status_t status = SWITCH_STATUS_SUCCESS;
|
switch_status_t status = SWITCH_STATUS_SUCCESS;
|
||||||
|
|
||||||
|
switch_channel_set_variable(channel, "jitterbuffer_msec", "1p");
|
||||||
|
|
||||||
tech_pvt = switch_core_session_get_private(session);
|
tech_pvt = switch_core_session_get_private(session);
|
||||||
switch_assert(tech_pvt != NULL);
|
switch_assert(tech_pvt != NULL);
|
||||||
|
|
||||||
|
@ -2383,12 +2385,6 @@ static switch_status_t channel_receive_message(switch_core_session_t *session, s
|
||||||
case SWITCH_MESSAGE_INDICATE_ANSWER:
|
case SWITCH_MESSAGE_INDICATE_ANSWER:
|
||||||
channel_answer_channel(session);
|
channel_answer_channel(session);
|
||||||
break;
|
break;
|
||||||
case SWITCH_MESSAGE_INDICATE_BRIDGE:
|
|
||||||
rtp_flush_read_buffer(tech_pvt->transports[LDL_TPORT_RTP].rtp_session, SWITCH_RTP_FLUSH_STICK);
|
|
||||||
break;
|
|
||||||
case SWITCH_MESSAGE_INDICATE_UNBRIDGE:
|
|
||||||
rtp_flush_read_buffer(tech_pvt->transports[LDL_TPORT_RTP].rtp_session, SWITCH_RTP_FLUSH_UNSTICK);
|
|
||||||
break;
|
|
||||||
case SWITCH_MESSAGE_INDICATE_STUN_ERROR:
|
case SWITCH_MESSAGE_INDICATE_STUN_ERROR:
|
||||||
//switch_channel_hangup(switch_core_session_get_channel(session), SWITCH_CAUSE_NORMAL_CLEARING);
|
//switch_channel_hangup(switch_core_session_get_channel(session), SWITCH_CAUSE_NORMAL_CLEARING);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue