mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-03 11:58:36 +00:00
fix --disable-srtp
This commit is contained in:
parent
41fbb451a1
commit
378caebc9a
@ -1509,8 +1509,9 @@ static void send_fir(switch_rtp_t *rtp_session)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ENABLE_SRTP
|
||||||
end:
|
end:
|
||||||
|
#endif
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -1594,9 +1595,9 @@ static void send_pli(switch_rtp_t *rtp_session)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ENABLE_SRTP
|
||||||
end:
|
end:
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3884,7 +3885,9 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session)
|
|||||||
{
|
{
|
||||||
void *pop;
|
void *pop;
|
||||||
switch_socket_t *sock;
|
switch_socket_t *sock;
|
||||||
|
#ifdef ENABLE_SRTP
|
||||||
int x;
|
int x;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!rtp_session || !*rtp_session || !(*rtp_session)->ready) {
|
if (!rtp_session || !*rtp_session || !(*rtp_session)->ready) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user