mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 17:22:21 +00:00
typo
This commit is contained in:
parent
0a246d1cb4
commit
e747229f5e
@ -54,7 +54,7 @@ SWITCH_DECLARE(void) switch_media_handle_set_ndlb(switch_media_handle_t *smh, sw
|
|||||||
SWITCH_DECLARE(void) switch_media_handle_clear_ndlb(switch_media_handle_t *smh, switch_core_media_NDLB_t flag);
|
SWITCH_DECLARE(void) switch_media_handle_clear_ndlb(switch_media_handle_t *smh, switch_core_media_NDLB_t flag);
|
||||||
SWITCH_DECLARE(int32_t) switch_media_handle_test_ndlb(switch_media_handle_t *smh, switch_core_media_NDLB_t flag);
|
SWITCH_DECLARE(int32_t) switch_media_handle_test_ndlb(switch_media_handle_t *smh, switch_core_media_NDLB_t flag);
|
||||||
SWITCH_DECLARE(void) switch_core_session_check_outgoing_crypto(switch_core_session_t *session, const char *sec_var);
|
SWITCH_DECLARE(void) switch_core_session_check_outgoing_crypto(switch_core_session_t *session, const char *sec_var);
|
||||||
SWITCH_DECLARE(const char *) switch_core_sesson_local_crypto_key(switch_core_session_t *session, switch_media_type_t type);
|
SWITCH_DECLARE(const char *) switch_core_session_local_crypto_key(switch_core_session_t *session, switch_media_type_t type);
|
||||||
SWITCH_DECLARE(int) switch_core_session_check_incoming_crypto(switch_core_session_t *session,
|
SWITCH_DECLARE(int) switch_core_session_check_incoming_crypto(switch_core_session_t *session,
|
||||||
const char *varname,
|
const char *varname,
|
||||||
switch_media_type_t type, const char *crypto, int crypto_tag);
|
switch_media_type_t type, const char *crypto, int crypto_tag);
|
||||||
|
@ -6188,7 +6188,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
|
|||||||
|
|
||||||
if (is_ok) {
|
if (is_ok) {
|
||||||
|
|
||||||
if (switch_core_sesson_local_crypto_key(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO)) {
|
if (switch_core_session_local_crypto_key(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO)) {
|
||||||
sofia_glue_set_local_sdp(tech_pvt, NULL, 0, NULL, 0);
|
sofia_glue_set_local_sdp(tech_pvt, NULL, 0, NULL, 0);
|
||||||
}
|
}
|
||||||
if (sofia_use_soa(tech_pvt)) {
|
if (sofia_use_soa(tech_pvt)) {
|
||||||
|
@ -186,7 +186,7 @@ static void generate_m(private_object_t *tech_pvt, char *buf, size_t buflen,
|
|||||||
int rate;
|
int rate;
|
||||||
int already_did[128] = { 0 };
|
int already_did[128] = { 0 };
|
||||||
int ptime = 0, noptime = 0;
|
int ptime = 0, noptime = 0;
|
||||||
const char *local_audio_crypto_key = switch_core_sesson_local_crypto_key(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO);
|
const char *local_audio_crypto_key = switch_core_session_local_crypto_key(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO);
|
||||||
|
|
||||||
switch_snprintf(buf + strlen(buf), buflen - strlen(buf), "m=audio %d RTP/%sAVP",
|
switch_snprintf(buf + strlen(buf), buflen - strlen(buf), "m=audio %d RTP/%sAVP",
|
||||||
port, secure ? "S" : "");
|
port, secure ? "S" : "");
|
||||||
@ -396,7 +396,7 @@ void sofia_glue_set_local_sdp(private_object_t *tech_pvt, const char *ip, switch
|
|||||||
switch_event_t *map = NULL, *ptmap = NULL;
|
switch_event_t *map = NULL, *ptmap = NULL;
|
||||||
const char *b_sdp = NULL;
|
const char *b_sdp = NULL;
|
||||||
int verbose_sdp = 0;
|
int verbose_sdp = 0;
|
||||||
const char *local_audio_crypto_key = switch_core_sesson_local_crypto_key(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO);
|
const char *local_audio_crypto_key = switch_core_session_local_crypto_key(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO);
|
||||||
|
|
||||||
switch_zmalloc(buf, SDPBUFLEN);
|
switch_zmalloc(buf, SDPBUFLEN);
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ struct switch_media_handle_s {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
SWITCH_DECLARE(const char *) switch_core_sesson_local_crypto_key(switch_core_session_t *session, switch_media_type_t type)
|
SWITCH_DECLARE(const char *) switch_core_session_local_crypto_key(switch_core_session_t *session, switch_media_type_t type)
|
||||||
{
|
{
|
||||||
if (!session->media_handle) {
|
if (!session->media_handle) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user