*/
- 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
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)