提交 8aba7238 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-4905

上级 7ba3dadc
......@@ -736,13 +736,18 @@ typedef enum {
*/
RTP_BUG_CHANGE_SSRC_ON_MARKER = (1 << 9)
RTP_BUG_CHANGE_SSRC_ON_MARKER = (1 << 9),
/*
By default FS will change the SSRC when the marker is set and it detects a timestamp reset.
If this setting is enabled it will NOT do this (old behaviour).
*/
RTP_BUG_FLUSH_JB_ON_DTMF = (1 << 10)
/* FLUSH JITTERBUFFER When getting RFC2833 to reduce bleed through */
} switch_rtp_bug_flag_t;
#ifdef _MSC_VER
......
......@@ -6975,6 +6975,14 @@ void sofia_glue_parse_rtp_bugs(switch_rtp_bug_flag_t *flag_pole, const char *str
if (switch_stristr("~CHANGE_SSRC_ON_MARKER", str)) {
*flag_pole &= ~RTP_BUG_CHANGE_SSRC_ON_MARKER;
}
if (switch_stristr("FLUSH_JB_ON_DTMF", str)) {
*flag_pole |= RTP_BUG_FLUSH_JB_ON_DTMF;
}
if (switch_stristr("~FLUSH_JB_ON_DTMF", str)) {
*flag_pole &= ~RTP_BUG_FLUSH_JB_ON_DTMF;
}
}
char *sofia_glue_gen_contact_str(sofia_profile_t *profile, sip_t const *sip, nua_handle_t *nh, sofia_dispatch_event_t *de, sofia_nat_parse_t *np)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论