mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 17:26:03 +00:00
FS-4493 does this work
This commit is contained in:
parent
c3de9637af
commit
0b852eb3d1
@ -1061,6 +1061,11 @@ static void try_secure(struct private_object *tech_pvt, ldl_transport_type_t tty
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (tech_pvt->transports[ttype].crypto_recv_type) {
|
||||||
|
tech_pvt->transports[ttype].crypto_type = tech_pvt->transports[ttype].crypto_recv_type;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//if (tech_pvt->transports[ttype].crypto_type) {
|
//if (tech_pvt->transports[ttype].crypto_type) {
|
||||||
switch_rtp_add_crypto_key(tech_pvt->transports[ttype].rtp_session,
|
switch_rtp_add_crypto_key(tech_pvt->transports[ttype].rtp_session,
|
||||||
SWITCH_RTP_CRYPTO_SEND, 1, tech_pvt->transports[ttype].crypto_type,
|
SWITCH_RTP_CRYPTO_SEND, 1, tech_pvt->transports[ttype].crypto_type,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user