mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-11745 Add "auto-jitterbuffer-msec" param to verto.conf.xml file
This commit is contained in:
parent
a0ac544fa1
commit
84aab26e65
@ -2456,7 +2456,7 @@ static switch_status_t verto_set_media_options(verto_pvt_t *tech_pvt, verto_prof
|
|||||||
tech_pvt->mparams->inbound_codec_string = switch_core_session_strdup(tech_pvt->session, profile->inbound_codec_string);
|
tech_pvt->mparams->inbound_codec_string = switch_core_session_strdup(tech_pvt->session, profile->inbound_codec_string);
|
||||||
tech_pvt->mparams->outbound_codec_string = switch_core_session_strdup(tech_pvt->session, profile->outbound_codec_string);
|
tech_pvt->mparams->outbound_codec_string = switch_core_session_strdup(tech_pvt->session, profile->outbound_codec_string);
|
||||||
|
|
||||||
tech_pvt->mparams->jb_msec = "1p:50p";
|
tech_pvt->mparams->jb_msec = profile->jb_msec;
|
||||||
switch_media_handle_set_media_flag(tech_pvt->smh, SCMF_SUPPRESS_CNG);
|
switch_media_handle_set_media_flag(tech_pvt->smh, SCMF_SUPPRESS_CNG);
|
||||||
|
|
||||||
//tech_pvt->mparams->auto_rtp_bugs = profile->auto_rtp_bugs;
|
//tech_pvt->mparams->auto_rtp_bugs = profile->auto_rtp_bugs;
|
||||||
@ -4784,6 +4784,8 @@ static switch_status_t parse_config(const char *cf)
|
|||||||
profile->inbound_codec_string = switch_core_strdup(profile->pool, val);
|
profile->inbound_codec_string = switch_core_strdup(profile->pool, val);
|
||||||
} else if (!strcasecmp(var, "outbound-codec-string") && !zstr(val)) {
|
} else if (!strcasecmp(var, "outbound-codec-string") && !zstr(val)) {
|
||||||
profile->outbound_codec_string = switch_core_strdup(profile->pool, val);
|
profile->outbound_codec_string = switch_core_strdup(profile->pool, val);
|
||||||
|
} else if (!strcasecmp(var, "auto-jitterbuffer-msec") && !zstr(val)) {
|
||||||
|
profile->jb_msec = switch_core_strdup(profile->pool, val);
|
||||||
} else if (!strcasecmp(var, "blind-reg") && !zstr(val)) {
|
} else if (!strcasecmp(var, "blind-reg") && !zstr(val)) {
|
||||||
profile->blind_reg = switch_true(val);
|
profile->blind_reg = switch_true(val);
|
||||||
} else if (!strcasecmp(var, "userauth") && !zstr(val)) {
|
} else if (!strcasecmp(var, "userauth") && !zstr(val)) {
|
||||||
@ -4855,6 +4857,10 @@ static switch_status_t parse_config(const char *cf)
|
|||||||
profile->inbound_codec_string = profile->outbound_codec_string;
|
profile->inbound_codec_string = profile->outbound_codec_string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (zstr(profile->jb_msec)) {
|
||||||
|
profile->jb_msec = "1p:50p";
|
||||||
|
}
|
||||||
|
|
||||||
if (zstr(profile->timer_name)) {
|
if (zstr(profile->timer_name)) {
|
||||||
profile->timer_name = "soft";
|
profile->timer_name = "soft";
|
||||||
}
|
}
|
||||||
|
@ -271,6 +271,8 @@ struct verto_profile_s {
|
|||||||
char *inbound_codec_string;
|
char *inbound_codec_string;
|
||||||
char *outbound_codec_string;
|
char *outbound_codec_string;
|
||||||
|
|
||||||
|
char *jb_msec;
|
||||||
|
|
||||||
char *timer_name;
|
char *timer_name;
|
||||||
char *local_network;
|
char *local_network;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user