mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
Don't setup ZRTP without a session and channel
FS-5472 --resolve
This commit is contained in:
parent
4448d6b743
commit
012003b5ff
@ -2674,7 +2674,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_create(switch_rtp_t **new_rtp_session
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_ZRTP
|
#ifdef ENABLE_ZRTP
|
||||||
if (zrtp_on && !rtp_session->flags[SWITCH_RTP_FLAG_PROXY_MEDIA]) {
|
if (zrtp_on && session && channel && !rtp_session->flags[SWITCH_RTP_FLAG_PROXY_MEDIA]) {
|
||||||
switch_rtp_t *master_rtp_session = NULL;
|
switch_rtp_t *master_rtp_session = NULL;
|
||||||
|
|
||||||
int initiator = 0;
|
int initiator = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user