FS-4490 --resolve
This commit is contained in:
parent
d281c01167
commit
4ff7fe0172
|
@ -4103,10 +4103,10 @@ static ldl_status handle_signalling(ldl_handle_t *handle, ldl_session_t *dlsessi
|
||||||
tech_pvt->transports[LDL_TPORT_VIDEO_RTP].codec_index = -1;
|
tech_pvt->transports[LDL_TPORT_VIDEO_RTP].codec_index = -1;
|
||||||
tech_pvt->profile = profile;
|
tech_pvt->profile = profile;
|
||||||
|
|
||||||
|
switch_set_flag(tech_pvt, TFLAG_SECURE);
|
||||||
mdl_build_crypto(tech_pvt, LDL_TPORT_RTP, 1, AES_CM_128_HMAC_SHA1_80, SWITCH_RTP_CRYPTO_SEND);
|
mdl_build_crypto(tech_pvt, LDL_TPORT_RTP, 1, AES_CM_128_HMAC_SHA1_80, SWITCH_RTP_CRYPTO_SEND);
|
||||||
mdl_build_crypto(tech_pvt, LDL_TPORT_VIDEO_RTP, 1, AES_CM_128_HMAC_SHA1_80, SWITCH_RTP_CRYPTO_SEND);
|
mdl_build_crypto(tech_pvt, LDL_TPORT_VIDEO_RTP, 1, AES_CM_128_HMAC_SHA1_80, SWITCH_RTP_CRYPTO_SEND);
|
||||||
switch_set_flag(tech_pvt, TFLAG_SECURE);
|
|
||||||
|
|
||||||
if (!(tech_pvt->transports[LDL_TPORT_RTP].local_port = switch_rtp_request_port(profile->ip))) {
|
if (!(tech_pvt->transports[LDL_TPORT_RTP].local_port = switch_rtp_request_port(profile->ip))) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_CRIT, "No RTP port available!\n");
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_CRIT, "No RTP port available!\n");
|
||||||
|
|
Loading…
Reference in New Issue